]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: update channel context before station state
authorMordechay Goodstein <mordechay.goodstein@intel.com>
Mon, 29 Nov 2021 13:32:42 +0000 (15:32 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 14 Dec 2021 10:21:39 +0000 (11:21 +0100)
commit60a57848dbcbe438b42621b4452c4e54073c4045
tree15b04e4fc3c25951f166cd9b6fe90f1fbe563ba1
parentdd82b616f1eb75efbbd8fc57d8c21b80954981c7
mac80211: update channel context before station state

Currently channel context is updated only after station got an update about
new assoc state, this results in station using the old channel context.

Fix this by moving the update channel context before updating station,
enabling the driver to immediately use the updated channel context in
the new assoc state.

Signed-off-by: Mordechay Goodstein <mordechay.goodstein@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211129152938.1c80c17ffd8a.I94ae31378b363c1182cfdca46c4b7e7165cff984@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c