aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx
diff options
context:
space:
mode:
authorShahar Levi <shahar_levi@ti.com>2011-05-11 05:12:56 -0400
committerLuciano Coelho <coelho@ti.com>2011-05-12 17:06:32 -0400
commitfcd23b6305e98f5ad3ddd7ff3f5081c75fcd4367 (patch)
tree0767385e2cb30532684e385bfa502fd00b77358b /drivers/net/wireless/wl12xx
parentbc76b94051983b94c8ba04fbfbc59651b9925fa7 (diff)
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 <shahar_levi@ti.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx')
-rw-r--r--drivers/net/wireless/wl12xx/main.c1
1 files changed, 1 insertions, 0 deletions
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)
3634 IEEE80211_HW_CONNECTION_MONITOR | 3634 IEEE80211_HW_CONNECTION_MONITOR |
3635 IEEE80211_HW_SUPPORTS_CQM_RSSI | 3635 IEEE80211_HW_SUPPORTS_CQM_RSSI |
3636 IEEE80211_HW_REPORTS_TX_ACK_STATUS | 3636 IEEE80211_HW_REPORTS_TX_ACK_STATUS |
3637 IEEE80211_HW_SPECTRUM_MGMT |
3637 IEEE80211_HW_AP_LINK_PS; 3638 IEEE80211_HW_AP_LINK_PS;
3638 3639
3639 wl->hw->wiphy->cipher_suites = cipher_suites; 3640 wl->hw->wiphy->cipher_suites = cipher_suites;