]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
wl12xx: add IEEE80211_HW_SPECTRUM_MGMT bit to the hw flags
authorShahar Levi <shahar_levi@ti.com>
Wed, 11 May 2011 09:12:56 +0000 (12:12 +0300)
committerLuciano Coelho <coelho@ti.com>
Thu, 12 May 2011 21:06:32 +0000 (00:06 +0300)
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>
drivers/net/wireless/wl12xx/main.c

index fa6b996d7d4d1be4ad37cfb2b9bfedae851649b3..acfbbfd3b7dd7c549aaba289a260833f4ece11ab 100644 (file)
@@ -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;