| 1770 | } |
| 1771 | |
| 1772 | void |
| 1773 | bstp_linkstate(struct bstp_port *bp) |
| 1774 | { |
| 1775 | struct bstp_state *bs = bp->bp_bs; |
| 1776 | |
| 1777 | if (!bp->bp_active) |
| 1778 | return; |
| 1779 | |
| 1780 | bstp_ifupdstatus(bp, 0); |
| 1781 | BSTP_LOCK(bs); |
| 1782 | bstp_update_state(bs, bp); |
| 1783 | BSTP_UNLOCK(bs); |
| 1784 | } |
| 1785 | |
| 1786 | static void |
| 1787 | bstp_ifupdstatus(void *arg, int pending) |
no test coverage detected