]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: rtw89: coex: add debug message of link counts on 2/5GHz bands for wl_info v7
authorPing-Ke Shih <pkshih@realtek.com>
Thu, 12 Sep 2024 02:16:26 +0000 (10:16 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 18 Sep 2024 13:33:17 +0000 (16:33 +0300)
commit5575058ba95bb016243e54e5ca3371b9884ded56
treedfb34611aeff33f8a62469a349f53cf224fd811d
parent9410645520e9b820069761f3450ef6661418e279
wifi: rtw89: coex: add debug message of link counts on 2/5GHz bands for wl_info v7

The counts will be used by MLO, and it is ongoing to add the code, so add
debug message in todo part to avoid warnings reported by clang:

coex.c:6323:23: warning:
 variable 'cnt_2g' set but not used [-Wunused-but-set-variable]
 6323 |         u8 i, mode, cnt = 0, cnt_2g = 0, cnt_5g = 0, ...
      |                              ^
coex.c:6323:35: warning:
 variable 'cnt_5g' set but not used [-Wunused-but-set-variable]
 6323 |         u8 i, mode, cnt = 0, cnt_2g = 0, cnt_5g = 0, ...
      |                                          ^

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20240912021626.10494-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/coex.c