aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/base.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-09-10 01:19:26 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-10-07 16:39:24 -0400
commit17753748e15eaf29c8db15c5c05b8dde5db6e64d (patch)
tree91cecfd361c921404c61f6e533e5fcceef811c72 /drivers/net/wireless/ath/ath5k/base.c
parent9ecdef4be864fede4e5964abc82c8d7451288539 (diff)
ath: move ath_bcast_mac to common header
This is used by both ath5k and ath9k to set the first bssid mask. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/base.c')
-rw-r--r--drivers/net/wireless/ath/ath5k/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c
index 9c6ab5378f6e..a28d79555dfc 100644
--- a/drivers/net/wireless/ath/ath5k/base.c
+++ b/drivers/net/wireless/ath/ath5k/base.c
@@ -815,7 +815,7 @@ ath5k_attach(struct pci_dev *pdev, struct ieee80211_hw *hw)
815 815
816 SET_IEEE80211_PERM_ADDR(hw, mac); 816 SET_IEEE80211_PERM_ADDR(hw, mac);
817 /* All MAC address bits matter for ACKs */ 817 /* All MAC address bits matter for ACKs */
818 memset(sc->bssidmask, 0xff, ETH_ALEN); 818 memcpy(sc->bssidmask, ath_bcast_mac, ETH_ALEN);
819 ath5k_hw_set_bssid_mask(sc->ah, sc->bssidmask); 819 ath5k_hw_set_bssid_mask(sc->ah, sc->bssidmask);
820 820
821 regulatory->current_rd = ah->ah_capabilities.cap_eeprom.ee_regdomain; 821 regulatory->current_rd = ah->ah_capabilities.cap_eeprom.ee_regdomain;