From: Shahar Levi Date: Wed, 11 May 2011 09:12:56 +0000 (+0300) Subject: wl12xx: add IEEE80211_HW_SPECTRUM_MGMT bit to the hw flags X-Git-Tag: v3.0-rc1~377^2~54^2^2~19^2~13 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fcd23b6305e98f5ad3ddd7ff3f5081c75fcd4367;p=karo-tx-linux.git wl12xx: add IEEE80211_HW_SPECTRUM_MGMT bit to the hw flags Set the spectrum management bit in the hw flags so that mac80211 will set the WLAN_CAPABILITY_SPECTRUM_MGMT bit in association requests (which in practice means that we support 802.11h spectrum management). [Reworded the commit log -- Luca.] Signed-off-by: Shahar Levi Signed-off-by: Luciano Coelho --- diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c index fa6b996d7d4d..acfbbfd3b7dd 100644 --- a/drivers/net/wireless/wl12xx/main.c +++ b/drivers/net/wireless/wl12xx/main.c @@ -3634,6 +3634,7 @@ int wl1271_init_ieee80211(struct wl1271 *wl) IEEE80211_HW_CONNECTION_MONITOR | IEEE80211_HW_SUPPORTS_CQM_RSSI | IEEE80211_HW_REPORTS_TX_ACK_STATUS | + IEEE80211_HW_SPECTRUM_MGMT | IEEE80211_HW_AP_LINK_PS; wl->hw->wiphy->cipher_suites = cipher_suites;