From: Jason P. <ja...@wi...> - 2007-07-19 00:07:37
|
Hi All, If you are annoyed by the ESSID truncation problems with iwconfig and wpa_supplicant see below. The problem seems to be in the file; wlan_join.c in the directory; gumstix-buildroot/build_arm_nofpu/src_cf8385/wlan somewhere around line 216 of wlan_join.c in release 1445 (and probably above) you should see; } else { /* Set the SSID */ memcpy(reqSSID.Ssid, extra, dwrq->length); reqSSID.SsidLength = dwrq->length - 1; } change to; } else { /* Set the SSID */ memcpy(reqSSID.Ssid, extra, dwrq->length); reqSSID.SsidLength = dwrq->length; } This works for me, I hope it helps others. Jason Peterson |
From: Craig H. <cr...@gu...> - 2007-07-19 00:24:55
|
Thanks Jason. Committed now to the trunk as revision 1462. Amazing what happens when Marvell releases their driver source code... C On Jul 18, 2007, at 5:07 PM, Jason Peterson wrote: > Hi All, > > If you are annoyed by the ESSID truncation problems with iwconfig and > wpa_supplicant see below. > > The problem seems to be in the file; > > wlan_join.c > > in the directory; > > gumstix-buildroot/build_arm_nofpu/src_cf8385/wlan > > somewhere around line 216 of wlan_join.c in release 1445 (and probably > above) you should see; > > } else { > /* Set the SSID */ > memcpy(reqSSID.Ssid, extra, dwrq->length); > reqSSID.SsidLength = dwrq->length - 1; > } > > change to; > > } else { > /* Set the SSID */ > memcpy(reqSSID.Ssid, extra, dwrq->length); > reqSSID.SsidLength = dwrq->length; > } > > > This works for me, I hope it helps others. > > Jason Peterson > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: Lee J. <lee...@gl...> - 2007-07-19 00:50:29
|
Thanks!! -----Original Message----- From: gum...@li... [mailto:gumstix= -us...@li...] On Behalf Of Jason Peterson= Sent: Wednesday, July 18, 2007 7:08 PM To: gum...@li... Subject: [Gumstix-users] ESSID Truncation Problem Fixed!!! ( iwco= nfig and wpa_supplicant ) Hi All, If you are annoyed by the ESSID truncation problems with iwconfig= and wpa_supplicant see below. The problem seems to be in the file; wlan_join.c in the directory; gumstix-buildroot/build_arm_nofpu/src_cf8385/wlan somewhere around line 216 of wlan_join.c in release 1445 (and pro= bably above) you should see; } else { /* Set the SSID */ memcpy(reqSSID.Ssid, extra, dwrq->length); reqSSID.SsidLength =3D dwrq->length - 1; } change to; } else { /* Set the SSID */ memcpy(reqSSID.Ssid, extra, dwrq->length); reqSSID.SsidLength =3D dwrq->length; } This works for me, I hope it helps others. Jason Peterson -----------------------------------------------------------------= -------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take= control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users |