]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - drivers/net/wireless/ath/ath5k/attach.c
ath: move ath_bcast_mac to common header
[linux-2.6.git] / drivers / net / wireless / ath / ath5k / attach.c
index 71a1bd254517c610257e384b0bc65e01800a2782..9a009a78a046a9cd2372918b3d260207acb2b091 100644 (file)
@@ -336,7 +336,7 @@ struct ath5k_hw *ath5k_hw_attach(struct ath5k_softc *sc)
        ath5k_hw_set_lladdr(ah, (u8[ETH_ALEN]){});
 
        /* Set BSSID to bcast address: ff:ff:ff:ff:ff:ff for now */
-       memset(ah->ah_bssid, 0xff, ETH_ALEN);
+       memcpy(ah->ah_bssid, ath_bcast_mac, ETH_ALEN);
        ath5k_hw_set_associd(ah, ah->ah_bssid, 0);
        ath5k_hw_set_opmode(ah);