cfg80211: allow AID/listen interval changes for unassociated station
authorAyala Beker <ayala.beker@intel.com>
Fri, 23 Oct 2015 08:20:06 +0000 (11:20 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 3 Nov 2015 10:20:29 +0000 (11:20 +0100)
commite4208427247ecc7306c8f71ab3c5c08e08cf9fda
tree9849cbeb4072a17d47bb345303ec6901842387a0
parentdcae9e0203dfd887a7413cd38d1f87aaac1127f4
cfg80211: allow AID/listen interval changes for unassociated station

Currently, cfg80211 rejects updates of AID and listen interval parameters
for existing entries. This information is known only at association stage
and as a result it's impossible to update entries that were added
unassociated.
Fix this by allowing updates of these properies for stations that the
driver (or mac80211) assigned unassociated state.

This then fixes mac80211's use of NL80211_FEATURE_FULL_AP_CLIENT_STATE.

Signed-off-by: Ayala Beker <ayala.beker@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c