summaryrefslogtreecommitdiff
path: root/packages/mamona/cx3110x-770he-0.8.1/fix_ssid_data_length.patch
diff options
context:
space:
mode:
authorCliff Brake <cbrake@bec-systems.com>2008-10-23 21:34:47 -0400
committerCliff Brake <cbrake@bec-systems.com>2008-10-23 21:34:47 -0400
commit97f239bff818c4836572495c05f983a9fab09202 (patch)
tree52341b9eefdf1b551d7d2a3fdd0ee391270f10fd /packages/mamona/cx3110x-770he-0.8.1/fix_ssid_data_length.patch
parenta57a4df1e3d3ec67465253688a638adecc8caf6d (diff)
parent3a83d1fb3fd0fdbbf763e5f495ef9046f09e15b9 (diff)
Merge commit 'openembedded.org/org.openembedded.dev' into org.openembedded.dev
Diffstat (limited to 'packages/mamona/cx3110x-770he-0.8.1/fix_ssid_data_length.patch')
-rw-r--r--packages/mamona/cx3110x-770he-0.8.1/fix_ssid_data_length.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/mamona/cx3110x-770he-0.8.1/fix_ssid_data_length.patch b/packages/mamona/cx3110x-770he-0.8.1/fix_ssid_data_length.patch
new file mode 100644
index 0000000000..a9e36ce6dd
--- /dev/null
+++ b/packages/mamona/cx3110x-770he-0.8.1/fix_ssid_data_length.patch
@@ -0,0 +1,13 @@
+Index: cx3110x-0.8.1/src/sm_drv_ioctl_umac.c
+===================================================================
+--- cx3110x-0.8.1.orig/src/sm_drv_ioctl_umac.c 2008-04-28 15:59:37.000000000 -0300
++++ cx3110x-0.8.1/src/sm_drv_ioctl_umac.c 2008-04-28 15:59:57.000000000 -0300
+@@ -171,7 +171,7 @@
+ /* The following entries will be displayed in the same order we give them */
+
+ /* The ESSID. */
+- iwe.u.data.length = strlen(bss->ssid);
++ iwe.u.data.length = strlen(bss->ssid + 1);
+ iwe.u.data.flags = 1;
+ iwe.cmd = SIOCGIWESSID;
+ current_ev = iwe_stream_add_point(current_ev, end_buf,