]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: Update bss channel on channel switch for P2P_CLIENT
authorSreeramya Soratkal <quic_ssramya@quicinc.com>
Tue, 1 Mar 2022 06:03:20 +0000 (11:33 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 2 Mar 2022 21:37:05 +0000 (22:37 +0100)
commitb35602a8bda092130142078c0047d630e47b5e8e
tree4753c3a9d639b22269a1929cd48cba9e83996058
parent57b4c2895851d655a0349627e578fa4276e185df
nl80211: Update bss channel on channel switch for P2P_CLIENT

The wdev channel information is updated post channel switch only for
the station mode and not for the other modes. Due to this, the P2P client
still points to the old value though it moved to the new channel
when the channel change is induced from the P2P GO.

Update the bss channel after CSA channel switch completion for P2P client
interface as well.

Signed-off-by: Sreeramya Soratkal <quic_ssramya@quicinc.com>
Link: https://lore.kernel.org/r/1646114600-31479-1-git-send-email-quic_ssramya@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c