nl80211: Increase buffer size for reporting scan frequencies
It is possible for a driver to support sufficient number of channels to hit the previous limit of 200 characters for the "nl80211: Scan included frequencies:" debug message. Increase the maximum buffer length to 300 characters to allow more complete list of scanned frequencies to be written into the debug log. This limit is more in line with the MAX_REPORT_FREQS (50) limit. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
207976f053
commit
712525b01e
1 changed files with 2 additions and 2 deletions
|
@ -1006,7 +1006,7 @@ static void send_scan_event(struct wpa_driver_nl80211_data *drv, int aborted,
|
|||
}
|
||||
}
|
||||
if (tb[NL80211_ATTR_SCAN_FREQUENCIES]) {
|
||||
char msg[200], *pos, *end;
|
||||
char msg[300], *pos, *end;
|
||||
int res;
|
||||
|
||||
pos = msg;
|
||||
|
@ -1753,7 +1753,7 @@ static void send_vendor_scan_event(struct wpa_driver_nl80211_data *drv,
|
|||
}
|
||||
|
||||
if (tb[QCA_WLAN_VENDOR_ATTR_SCAN_FREQUENCIES]) {
|
||||
char msg[200], *pos, *end;
|
||||
char msg[300], *pos, *end;
|
||||
int res;
|
||||
|
||||
pos = msg;
|
||||
|
|
Loading…
Reference in a new issue