wifi: rtw89: set the correct mac_id for management frames
authorKuan-Chung Chen <damon.chen@realtek.com>
Fri, 6 Jan 2023 12:15:17 +0000 (20:15 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 16 Jan 2023 13:37:42 +0000 (15:37 +0200)
commit877287f971b145a3699ea8466333d48aff6204e5
tree838260d3eb8e6b9a75389b0e216d9cbc9f6c97b8
parent95dafeabe477d9692154e85140eda5124895ea4f
wifi: rtw89: set the correct mac_id for management frames

The mac_id of management frames should follow rtwvif->mac_id or
rtwsta->mac_id. Add this patch to set the correct mac_id and
prevent unexpected behavior.

Signed-off-by: Kuan-Chung Chen <damon.chen@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230106121517.19841-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c