summaryrefslogtreecommitdiff
path: root/packages/wifistix/wifistix-modules/fix-essid-truncation.patch
blob: c9185eab03b492f5c2142ee04cc140cf026d6b27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: src_cf8385/wlan/wlan_join.c
===================================================================
--- src_cf8385.orig/wlan/wlan_join.c
+++ src_cf8385/wlan/wlan_join.c
@@ -213,7 +213,7 @@ int wlan_set_essid(struct net_device* de
     } else {
         /* Set the SSID */
         memcpy(reqSSID.Ssid, extra, dwrq->length);
-        reqSSID.SsidLength = dwrq->length - 1;
+        reqSSID.SsidLength = dwrq->length;
     }
 
     PRINTM(INFO, "Requested new SSID = %s\n",