⬢ DragonFlyBSD Kernel Audit
DF-3836 / fix.diff
← back to finding ↓ download raw
--- a/sys/dev/netif/bwn/bwn/if_bwn_phy_lp.c
+++ b/sys/dev/netif/bwn/bwn/if_bwn_phy_lp.c
@@ -791,7 +791,7 @@
 static int
 bwn_phy_lp_b2063_switch_channel(struct bwn_mac *mac, uint8_t chan)
 {
-	static const struct bwn_b206x_chan *bc = NULL;
+	const struct bwn_b206x_chan *bc = NULL;
 	struct bwn_softc *sc = mac->mac_sc;
 	uint32_t count, freqref, freqvco, freqxtal, val[3], timeout, timeoutref,
 	    tmp[6];