ath: move ath_bcast_mac to common header
[linux-2.6.git] / drivers / net / wireless / ath / ath5k / base.c
index 9c6ab5378f6e1a5ab693b88cb67bfd447e294581..a28d79555dfc24114f68dcd714ef2dc127241c2c 100644 (file)
@@ -815,7 +815,7 @@ ath5k_attach(struct pci_dev *pdev, struct ieee80211_hw *hw)
 
        SET_IEEE80211_PERM_ADDR(hw, mac);
        /* All MAC address bits matter for ACKs */
-       memset(sc->bssidmask, 0xff, ETH_ALEN);
+       memcpy(sc->bssidmask, ath_bcast_mac, ETH_ALEN);
        ath5k_hw_set_bssid_mask(sc->ah, sc->bssidmask);
 
        regulatory->current_rd = ah->ah_capabilities.cap_eeprom.ee_regdomain;