From: Jouni Malinen Date: Thu, 27 Oct 2011 14:31:50 +0000 (+0300) Subject: ath9k: Advertise support for TDLS X-Git-Tag: v3.12-rc1~4160^2~44^2~530 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd6562344dea2b8b2a5d644cf971f4e56004500a;p=kernel%2Fkernel-generic.git ath9k: Advertise support for TDLS 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 Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c index e8af582..5cb0599 100644 --- 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;