diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-02-09 02:57:10 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-13 13:45:03 -0500 |
commit | ba52da58be0acf3b7775972b2b5234ce64388c79 (patch) | |
tree | 7663eb81791f4b85f56a6fa4c9119c954de7bc54 /drivers/net/wireless/ath9k/recv.c | |
parent | d6bad496c6fbe3adb3323915a8b0430fa2955199 (diff) |
ath9k: Remove duplicate variables
A few variables (bssid, bssidmask, curaid) were duplicated in
struct ath_softc and in ath_hal, remove them.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/recv.c')
-rw-r--r-- | drivers/net/wireless/ath9k/recv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath9k/recv.c b/drivers/net/wireless/ath9k/recv.c index e8e4a32037f9..c51c085f55d6 100644 --- a/drivers/net/wireless/ath9k/recv.c +++ b/drivers/net/wireless/ath9k/recv.c | |||
@@ -242,13 +242,13 @@ static void ath_opmode_init(struct ath_softc *sc) | |||
242 | 242 | ||
243 | /* configure bssid mask */ | 243 | /* configure bssid mask */ |
244 | if (ah->ah_caps.hw_caps & ATH9K_HW_CAP_BSSIDMASK) | 244 | if (ah->ah_caps.hw_caps & ATH9K_HW_CAP_BSSIDMASK) |
245 | ath9k_hw_setbssidmask(ah, sc->bssidmask); | 245 | ath9k_hw_setbssidmask(sc); |
246 | 246 | ||
247 | /* configure operational mode */ | 247 | /* configure operational mode */ |
248 | ath9k_hw_setopmode(ah); | 248 | ath9k_hw_setopmode(ah); |
249 | 249 | ||
250 | /* Handle any link-level address change. */ | 250 | /* Handle any link-level address change. */ |
251 | ath9k_hw_setmac(ah, sc->macaddr); | 251 | ath9k_hw_setmac(ah, sc->sc_ah->macaddr); |
252 | 252 | ||
253 | /* calculate and install multicast filter */ | 253 | /* calculate and install multicast filter */ |
254 | mfilt[0] = mfilt[1] = ~0; | 254 | mfilt[0] = mfilt[1] = ~0; |