madwifi: remove my maintainer line from the package
[openwrt.git] / package / madwifi / patches / 474_fix_ssid_scan_length.patch
1 --- a/tools/wlanconfig.c
2 +++ b/tools/wlanconfig.c
3 @@ -654,7 +654,7 @@ static void
4 list_scan(const char *ifname)
5 {
6 static uint8_t buf[24 * 1024];
7 - char ssid[14];
8 + char ssid[30];
9 uint8_t *cp;
10 int len;
11
12 @@ -665,7 +665,7 @@ list_scan(const char *ifname)
13 if (len < sizeof(struct ieee80211req_scan_result))
14 return;
15
16 - printf("%-14.14s %-17.17s %4s %4s %-5s %3s %4s\n",
17 + printf("%-30.30s %-17.17s %4s %4s %-5s %3s %4s\n",
18 "SSID",
19 "BSSID",
20 "CHAN",
21 @@ -680,7 +680,7 @@ list_scan(const char *ifname)
22
23 sr = (struct ieee80211req_scan_result *) cp;
24 vp = (u_int8_t *)(sr+1);
25 - printf("%-14.*s %s %3d %3dM %2d:%-2d %3d %-4.4s",
26 + printf("%-30.*s %s %3d %3dM %2d:%-2d %3d %-4.4s",
27 copy_essid(ssid, sizeof(ssid), vp, sr->isr_ssid_len),
28 ssid,
29 ieee80211_ntoa(sr->isr_bssid),
This page took 0.04303 seconds and 5 git commands to generate.