]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: add stations in order to the station list
authorArik Nemtsov <arik@wizery.com>
Wed, 22 Oct 2014 09:32:16 +0000 (12:32 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 23 Oct 2014 18:40:02 +0000 (20:40 +0200)
commitbc5acb92f5ad3c1a3b37c96145436e7665ec8130
tree4ebb53a54872b0044a45b8386cfe8d8f2cb63a84
parentc6f232fa2ea9896d0eab4f696f81c4214f20835f
mac80211: add stations in order to the station list

During reconfig the station list is traversed in order and station are
added back to the driver. Make sure the stations are added to the driver
in the same order they were added to mac80211.

This has a real side effect - some drivers (iwlwifi) require TDLS
stations to be added only after the AP station for the same network.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c