wifi: rtw89: ser: avoid multiple deinit on same CAM
authorZong-Zhe Yang <kevin_yang@realtek.com>
Thu, 9 May 2024 09:06:43 +0000 (17:06 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 14 May 2024 01:27:13 +0000 (09:27 +0800)
commitcea4066588308fa932b6b03486c608efff1d761c
tree92d7eef277c55a88328ba4fb7e83cfc0eebd0ff9
parent28818b4d871bc93cc4f5c7c7d7c526a6a096c09c
wifi: rtw89: ser: avoid multiple deinit on same CAM

We did deinit CAM in STA iteration in VIF loop. But, the STA iteration
missed to restrict the target VIF. So, if there are multiple VIFs, we
would deinit a CAM multiple times. Now, fix it.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://msgid.link/20240509090646.35304-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/ser.c