wifi: mac80211: remove only link keys during stopping link AP
authorRameshkumar Sundaram <quic_ramess@quicinc.com>
Tue, 27 Feb 2024 04:22:50 +0000 (09:52 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 4 Mar 2024 13:28:59 +0000 (14:28 +0100)
commit1c0d21c4b33a41be9090e73f8225813d72ac88d9
treef6655423e76bbeafb26f2459eab63b74bc5dfff5
parent9ad7974856926129f190ffbe3beea78460b3b7cc
wifi: mac80211: remove only link keys during stopping link AP

Currently while stopping a link AP, all keys from the interface were
removed. However with MLO there is a requirement to free only the link
keys.

Add changes to remove keys which are associated with the link AP which is
going to be stopped.

Signed-off-by: Rameshkumar Sundaram <quic_ramess@quicinc.com>
Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
Link: https://msgid.link/20240227042251.1511122-2-quic_adisi@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c