]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita500a85c34450db37777885427003afcebd64397
tree9849cbeb4072a17d47bb345303ec6901842387a0
parent21c3427ba1cc4e4b563fcf25c98c02485c69c212
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