diff options
author | Sujith Manoharan <Sujith.Manoharan@atheros.com> | 2011-02-20 21:20:15 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-02-23 16:25:28 -0500 |
commit | 88427c65f0f1c98729fd35b458ca402c36ff619d (patch) | |
tree | aedeacfd0bca360a09de4395a3b945927705d421 /drivers/net/wireless/ath | |
parent | 200be651f77f8407086873520436bf55a4468e26 (diff) |
ath9k_htc: Fix host RX initialization
There is no need to set the BSSID mask or opmode when
initializing RX, they would be set correctly in the HW reset
routine.
Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_txrx.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c index 04d824863d97..426620a50d5e 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c | |||
@@ -433,20 +433,12 @@ u32 ath9k_htc_calcrxfilter(struct ath9k_htc_priv *priv) | |||
433 | static void ath9k_htc_opmode_init(struct ath9k_htc_priv *priv) | 433 | static void ath9k_htc_opmode_init(struct ath9k_htc_priv *priv) |
434 | { | 434 | { |
435 | struct ath_hw *ah = priv->ah; | 435 | struct ath_hw *ah = priv->ah; |
436 | struct ath_common *common = ath9k_hw_common(ah); | ||
437 | |||
438 | u32 rfilt, mfilt[2]; | 436 | u32 rfilt, mfilt[2]; |
439 | 437 | ||
440 | /* configure rx filter */ | 438 | /* configure rx filter */ |
441 | rfilt = ath9k_htc_calcrxfilter(priv); | 439 | rfilt = ath9k_htc_calcrxfilter(priv); |
442 | ath9k_hw_setrxfilter(ah, rfilt); | 440 | ath9k_hw_setrxfilter(ah, rfilt); |
443 | 441 | ||
444 | /* configure bssid mask */ | ||
445 | ath_hw_setbssidmask(common); | ||
446 | |||
447 | /* configure operational mode */ | ||
448 | ath9k_hw_setopmode(ah); | ||
449 | |||
450 | /* calculate and install multicast filter */ | 442 | /* calculate and install multicast filter */ |
451 | mfilt[0] = mfilt[1] = ~0; | 443 | mfilt[0] = mfilt[1] = ~0; |
452 | ath9k_hw_setmcastfilter(ah, mfilt[0], mfilt[1]); | 444 | ath9k_hw_setmcastfilter(ah, mfilt[0], mfilt[1]); |