]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: allow changing station capabilities for unassociated stations
authorAyala Beker <ayala.beker@intel.com>
Mon, 21 Sep 2015 12:49:53 +0000 (15:49 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 29 Sep 2015 13:56:50 +0000 (15:56 +0200)
commit3c5b29a2bef3b5fb5f8cde150313c8be84e75018
treeca2fa8237db5227617276d5e2bd041f356805683
parentf32dad5fbc3938a765a58b524325c4e8b9c9e6ed
cfg80211: allow changing station capabilities for unassociated stations

Currently, cfg80211 rejects capability updates for existing entries
and as a result it's impossible to update entries that were added
unassociated, but that is necessary to go through the full station
states from userspace, adding a station before authentication etc.

Fix this by allowing updates to capabilities for stations that the
driver (or mac80211) assigned unassociated state. Drivers setting
the full station state support flag must use the new station type
for proper operation.

Signed-off-by: Ayala Beker <ayala.beker@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/nl80211.c