diff options
author | Chun-Yeow Yeoh <yeohchunyeow@gmail.com> | 2015-06-09 15:59:49 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-06-15 12:44:34 +0300 |
commit | f0e449627e4ac7fe6a662e284a1cf365b1f197e0 (patch) | |
tree | e6ecc0af23a8db5e2ee004d597ca1a521e3e0ac4 /drivers/net/wireless/ath/ath9k/htc_drv_init.c | |
parent | brcmfmac: use debugfs_create_devm_seqfile() helper function (diff) | |
download | linux-dev-f0e449627e4ac7fe6a662e284a1cf365b1f197e0.tar.xz linux-dev-f0e449627e4ac7fe6a662e284a1cf365b1f197e0.zip |
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 746856243bff..95690109ee11 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; |