nl80211: Increase the buffer length for debug printing channels

The previously used buffer was not large enough to be able to print out
all 6 GHz channels, so use a larger buffer to avoid leaving out
supported channels from the debug print.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
Jouni Malinen 2022-04-28 21:15:41 +03:00 committed by Jouni Malinen
parent 563162a5f5
commit 664fd83d59

View file

@ -2436,7 +2436,7 @@ static void nl80211_dump_chan_list(struct hostapd_hw_modes *modes,
for (i = 0; i < num_modes; i++) {
struct hostapd_hw_modes *mode = &modes[i];
char str[200];
char str[1000];
char *pos = str;
char *end = pos + sizeof(str);
int j, res;