diff options
author | Chun-Yeow Yeoh <yeohchunyeow@gmail.com> | 2015-06-09 07:59:49 (GMT) |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-06-15 09:44:34 (GMT) |
commit | f0e449627e4ac7fe6a662e284a1cf365b1f197e0 (patch) | |
tree | e6ecc0af23a8db5e2ee004d597ca1a521e3e0ac4 /drivers/net/wireless/ath/ath9k/htc_drv_init.c | |
parent | 5b18ffb2d725571b4642f44249c55e4d1fcf60de (diff) | |
download | linux-f0e449627e4ac7fe6a662e284a1cf365b1f197e0.tar.xz |
ath9k_htc: add support of channel switch
Add the support of channel switching functionality, similar
to ath9k support.
Tested with TP-Link TL-WN722N and TL-WN821N.
Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_init.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c index 7468562..9569010 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c @@ -744,7 +744,8 @@ static void ath9k_set_hw_capab(struct ath9k_htc_priv *priv, hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT; hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN | - WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL; + WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL | + WIPHY_FLAG_HAS_CHANNEL_SWITCH; hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS; |