]> 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)
commit68ecf9fcefb8e9f25a6550669935b9643ab71f10
tree9849cbeb4072a17d47bb345303ec6901842387a0
parent2d23959fddf0ff5e3864d578d1e14b9aa257c388
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