ACS: Remove invalid debug print
ideal_chan is NULL here, so it is not really valid to try to debug print
something from it due to the implied NULL pointer dereferencing.
Fixes: af0f60e7dd
("EHT: Calculate puncturing bitmap for ACS")
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
7a37a94eaa
commit
f80d833688
1 changed files with 0 additions and 6 deletions
|
@ -1076,12 +1076,6 @@ bw_selected:
|
|||
return ideal_chan;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_IEEE80211BE
|
||||
if (iface->conf->punct_acs_threshold)
|
||||
wpa_printf(MSG_DEBUG, "ACS: RU puncturing bitmap 0x%x",
|
||||
ideal_chan->punct_bitmap);
|
||||
#endif /* CONFIG_IEEE80211BE */
|
||||
|
||||
return rand_chan;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue