diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-11-17 08:08:11 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-01-08 09:28:10 -0500 |
commit | 319090bf6c75e3ad42a8c74973be5e78ae4f948f (patch) | |
tree | 499fe25951bd986948c2b0e0552dfeca0784ae3a /drivers/net/wireless/ath/wil6210/wmi.c | |
parent | 2b9a7e1bac24df8ddb0713ad1e5807a7243bcab0 (diff) |
cfg80211: remove enum station_info_flags
This is really just duplicating the list of information that's
already available in the nl80211 attribute, so remove the list.
Two small changes are needed:
* remove STATION_INFO_ASSOC_REQ_IES complete, but the length
(assoc_req_ies_len) can be used instead
* add NL80211_STA_INFO_RX_DROP_MISC which exists internally
but not in nl80211 yet
This gets rid of the duplicate maintenance of the two lists.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/wmi.c')
-rw-r--r-- | drivers/net/wireless/ath/wil6210/wmi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/wil6210/wmi.c b/drivers/net/wireless/ath/wil6210/wmi.c index 63476c86cd0e..899754920955 100644 --- a/drivers/net/wireless/ath/wil6210/wmi.c +++ b/drivers/net/wireless/ath/wil6210/wmi.c | |||
@@ -457,7 +457,6 @@ static void wmi_evt_connect(struct wil6210_priv *wil, int id, void *d, int len) | |||
457 | if (assoc_req_ie) { | 457 | if (assoc_req_ie) { |
458 | sinfo.assoc_req_ies = assoc_req_ie; | 458 | sinfo.assoc_req_ies = assoc_req_ie; |
459 | sinfo.assoc_req_ies_len = assoc_req_ielen; | 459 | sinfo.assoc_req_ies_len = assoc_req_ielen; |
460 | sinfo.filled |= STATION_INFO_ASSOC_REQ_IES; | ||
461 | } | 460 | } |
462 | 461 | ||
463 | cfg80211_new_sta(ndev, evt->bssid, &sinfo, GFP_KERNEL); | 462 | cfg80211_new_sta(ndev, evt->bssid, &sinfo, GFP_KERNEL); |