projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9236b2a
)
ath9k: Advertise support for TDLS
author
Jouni Malinen
<jouni@qca.qualcomm.com>
Thu, 27 Oct 2011 14:31:50 +0000
(17:31 +0300)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 9 Nov 2011 21:01:00 +0000
(16:01 -0500)
Based on a quick test, TDLS seemed to be working fine with ath9k, so
let's start advertising support for this in the driver.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/init.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/init.c
b/drivers/net/wireless/ath/ath9k/init.c
index e8af5821a9631bf9de330a60fbdbaccb110fdb77..5cb0599b01c250d6ebd00168c2799e5726734f8b 100644
(file)
--- a/
drivers/net/wireless/ath/ath9k/init.c
+++ b/
drivers/net/wireless/ath/ath9k/init.c
@@
-696,6
+696,7
@@
void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)
hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN;
+ hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS;
hw->queues = 4;
hw->max_rates = 4;