aboutsummaryrefslogtreecommitdiffstats
path: root/package/acx/patches/004-add_request_info.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/acx/patches/004-add_request_info.patch')
-rw-r--r--package/acx/patches/004-add_request_info.patch21
1 files changed, 10 insertions, 11 deletions
diff --git a/package/acx/patches/004-add_request_info.patch b/package/acx/patches/004-add_request_info.patch
index ff71c75061..d432870e27 100644
--- a/package/acx/patches/004-add_request_info.patch
+++ b/package/acx/patches/004-add_request_info.patch
@@ -1,6 +1,6 @@
---- acx-20080210/ioctl.c 2008-02-10 14:06:42.000000000 -0600
-+++ ioctl.c 2008-11-16 02:08:58.000000000 -0600
-@@ -488,6 +488,7 @@
+--- a/ioctl.c
++++ b/ioctl.c
+@@ -488,6 +488,7 @@ end_unlock:
/* helper. not sure whether it's really a _s_leeping fn */
static char*
acx_s_scan_add_station(
@@ -8,7 +8,7 @@
acx_device_t *adev,
char *ptr,
char *end_buf,
-@@ -503,14 +504,14 @@
+@@ -503,14 +504,14 @@ acx_s_scan_add_station(
iwe.u.ap_addr.sa_family = ARPHRD_ETHER;
MAC_COPY(iwe.u.ap_addr.sa_data, bss->bssid);
acxlog_mac(L_IOCTL, "scan, station address: ", bss->bssid, "\n");
@@ -25,7 +25,7 @@
/* Add mode */
iwe.cmd = SIOCGIWMODE;
-@@ -520,7 +521,7 @@
+@@ -520,7 +521,7 @@ acx_s_scan_add_station(
else
iwe.u.mode = IW_MODE_ADHOC;
log(L_IOCTL, "scan, mode: %d\n", iwe.u.mode);
@@ -34,7 +34,7 @@
}
/* Add frequency */
-@@ -528,7 +529,7 @@
+@@ -528,7 +529,7 @@ acx_s_scan_add_station(
iwe.u.freq.m = acx_channel_freq[bss->channel - 1] * 100000;
iwe.u.freq.e = 1;
log(L_IOCTL, "scan, frequency: %d\n", iwe.u.freq.m);
@@ -43,7 +43,7 @@
/* Add link quality */
iwe.cmd = IWEVQUAL;
-@@ -546,7 +547,7 @@
+@@ -546,7 +547,7 @@ acx_s_scan_add_station(
iwe.u.qual.updated = 7;
log(L_IOCTL, "scan, link quality: %d/%d/%d\n",
iwe.u.qual.level, iwe.u.qual.noise, iwe.u.qual.qual);
@@ -52,7 +52,7 @@
/* Add encryption */
iwe.cmd = SIOCGIWENCODE;
-@@ -556,7 +557,7 @@
+@@ -556,7 +557,7 @@ acx_s_scan_add_station(
iwe.u.data.flags = IW_ENCODE_DISABLED;
iwe.u.data.length = 0;
log(L_IOCTL, "scan, encryption flags: %X\n", iwe.u.data.flags);
@@ -61,7 +61,7 @@
/* add rates */
iwe.cmd = SIOCGIWRATE;
-@@ -570,7 +571,7 @@
+@@ -570,7 +571,7 @@ acx_s_scan_add_station(
if (rate & 1) {
iwe.u.bitrate.value = *p * 500000; /* units of 500kb/s */
log(L_IOCTL, "scan, rate: %d\n", iwe.u.bitrate.value);
@@ -70,7 +70,7 @@
&iwe, IW_EV_PARAM_LEN);
}
rate >>= 1;
-@@ -625,7 +626,7 @@
+@@ -625,7 +626,7 @@ acx_ioctl_get_scan(
for (i = 0; i < ARRAY_SIZE(adev->sta_list); i++) {
struct client *bss = &adev->sta_list[i];
if (!bss->used) continue;
@@ -79,4 +79,3 @@
extra + IW_SCAN_MAX_DATA, bss);
}
dwrq->length = ptr - extra;
-