diff options
Diffstat (limited to 'recipes/wifistix/wifistix-modules/fix-essid-truncation.patch')
-rw-r--r-- | recipes/wifistix/wifistix-modules/fix-essid-truncation.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/wifistix/wifistix-modules/fix-essid-truncation.patch b/recipes/wifistix/wifistix-modules/fix-essid-truncation.patch new file mode 100644 index 0000000000..c9185eab03 --- /dev/null +++ b/recipes/wifistix/wifistix-modules/fix-essid-truncation.patch @@ -0,0 +1,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", |