aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/wl12xx/main.c')
-rw-r--r--drivers/net/wireless/wl12xx/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index d5f55a149de5..f8748cedbae1 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -2060,6 +2060,9 @@ static int wl1271_op_add_interface(struct ieee80211_hw *hw,
2060 u8 role_type; 2060 u8 role_type;
2061 bool booted = false; 2061 bool booted = false;
2062 2062
2063 vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER |
2064 IEEE80211_VIF_SUPPORTS_CQM_RSSI;
2065
2063 wl1271_debug(DEBUG_MAC80211, "mac80211 add interface type %d mac %pM", 2066 wl1271_debug(DEBUG_MAC80211, "mac80211 add interface type %d mac %pM",
2064 ieee80211_vif_type_p2p(vif), vif->addr); 2067 ieee80211_vif_type_p2p(vif), vif->addr);
2065 2068
@@ -4898,12 +4901,10 @@ static int wl1271_init_ieee80211(struct wl1271 *wl)
4898 wl->hw->max_listen_interval = wl->conf.conn.max_listen_interval; 4901 wl->hw->max_listen_interval = wl->conf.conn.max_listen_interval;
4899 4902
4900 wl->hw->flags = IEEE80211_HW_SIGNAL_DBM | 4903 wl->hw->flags = IEEE80211_HW_SIGNAL_DBM |
4901 IEEE80211_HW_BEACON_FILTER |
4902 IEEE80211_HW_SUPPORTS_PS | 4904 IEEE80211_HW_SUPPORTS_PS |
4903 IEEE80211_HW_SUPPORTS_UAPSD | 4905 IEEE80211_HW_SUPPORTS_UAPSD |
4904 IEEE80211_HW_HAS_RATE_CONTROL | 4906 IEEE80211_HW_HAS_RATE_CONTROL |
4905 IEEE80211_HW_CONNECTION_MONITOR | 4907 IEEE80211_HW_CONNECTION_MONITOR |
4906 IEEE80211_HW_SUPPORTS_CQM_RSSI |
4907 IEEE80211_HW_REPORTS_TX_ACK_STATUS | 4908 IEEE80211_HW_REPORTS_TX_ACK_STATUS |
4908 IEEE80211_HW_SPECTRUM_MGMT | 4909 IEEE80211_HW_SPECTRUM_MGMT |
4909 IEEE80211_HW_AP_LINK_PS | 4910 IEEE80211_HW_AP_LINK_PS |