NAN: Print a debug entry on TX wait time expiration

This can be helpful for understanding NAN DE behavior.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
Jouni Malinen
2024-11-04 22:43:44 +02:00
committed by Sarvesh Bodakhe
parent 1c18f52de0
commit 7ba048a8c5

View File

@@ -675,6 +675,10 @@ void nan_de_tx_status(struct nan_de *de, unsigned int freq, const u8 *dst)
void nan_de_tx_wait_ended(struct nan_de *de)
{
if (de->tx_wait_end_freq)
wpa_printf(MSG_DEBUG,
"NAN: TX wait for response ended (freq=%u)",
de->tx_wait_end_freq);
de->tx_wait_end_freq = 0;
nan_de_run_timer(de);
}