wifi: rtw89: coex: show connecting state in debug message
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 12 Sep 2022 02:10:09 +0000 (10:10 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 19 Sep 2022 10:02:13 +0000 (13:02 +0300)
commitbc012b16c15f77f378ce362f7808c94156f2dcd9
tree4ba9007d4da99c6e53713e16822c5d4e940cdc12
parent435f87d088e5b921018fb8b909ba01f298bb42b3
wifi: rtw89: coex: show connecting state in debug message

The variable cnt_connecting is to indicate if we are connecting to an AP.
This is an important clue for coexistence to assign more time slot to WiFi
side in this situation to ensure WiFi can establish connection.

Without this patch, compiler warns:
  drivers/net/wireless/realtek/rtw89/coex.c:3244:25: warning: variable
    'cnt_connecting' set but not used [-Wunused-but-set-variable]

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220912021009.6011-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/coex.c