P2P: Clean up Listen channel optimization debug prints
Do not claim to change the Listen channel in a debug message when previously configured channel prevents this. In addition, fix a typo in another related debug print. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
2e6085c27b
commit
abe96d0605
2 changed files with 8 additions and 5 deletions
|
@ -9167,7 +9167,7 @@ static void wpas_p2p_optimize_listen_channel(struct wpa_supplicant *wpa_s,
|
|||
|
||||
if (cand) {
|
||||
wpa_dbg(wpa_s, MSG_DEBUG,
|
||||
"P2P: Update Listen channel to %u baased on operating channel",
|
||||
"P2P: Update Listen channel to %u based on operating channel",
|
||||
cand);
|
||||
p2p_set_listen_channel(wpa_s->global->p2p, 81, cand, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue