]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Allow deleting stations in ibss mode to reset their state
authorNicolas Cavallari <nicolas.cavallari@green-communications.fr>
Thu, 5 Mar 2020 13:57:54 +0000 (14:57 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 20 Mar 2020 13:42:20 +0000 (14:42 +0100)
commit5b4a9c53060b2e202b88cb45f68c01f8e922ddd7
tree3f32b89ee315284cb3a908a9acc505b522a15493
parent839e4fabba6eb3ba620abce3bb73c96ea037b3ca
mac80211: Allow deleting stations in ibss mode to reset their state

Set the NL80211_EXT_FEATURE_DEL_IBSS_STA if the interface support IBSS
mode, so that stations can be reset from user space.

mac80211 already deletes stations by itself, so mac80211 drivers must
already support this.

This has been successfully tested with ath9k.

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Link: https://lore.kernel.org/r/20200305135754.12094-2-cavallar@lri.fr
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/main.c