diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-06-12 15:22:32 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-14 19:39:33 (GMT) |
commit | 16f2411fcb76253c690e3420fbcf3f0208eeaa51 (patch) | |
tree | 79df5b51cda91c40c7ed19cced95f54bf2f63a7d /drivers/net/wireless/ath/ath9k/htc_drv_init.c | |
parent | f32a488463d1b2048a7797a5b618be65a1dfabad (diff) | |
download | linux-fsl-qoriq-16f2411fcb76253c690e3420fbcf3f0208eeaa51.tar.xz |
ath9k_hw: remove ATH9K_CAP_MCAST_KEYSRCH
The driver always sets this to enabled, but this can be simplified with
a small change to ah->sta_id1_defaults instead.
This change also removes the now-obsolete ath9k_hw_setcapability function.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_init.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_init.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c index 5190a88..d339e5f 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c @@ -569,11 +569,6 @@ static void ath9k_init_crypto(struct ath9k_htc_priv *priv) */ for (i = 0; i < common->keymax; i++) ath9k_hw_keyreset(priv->ah, (u16) i); - - /* turn on mcast key search if possible */ - if (!ath9k_hw_getcapability(priv->ah, ATH9K_CAP_MCAST_KEYSRCH, 0, NULL)) - (void)ath9k_hw_setcapability(priv->ah, ATH9K_CAP_MCAST_KEYSRCH, - 1, 1, NULL); } static void ath9k_init_channels_rates(struct ath9k_htc_priv *priv) |