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:
parent
563162a5f5
commit
664fd83d59
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue