]> err.no Git - linux-2.6/commit
[PATCH] drivers/net/wireless: correct reported ssid lengths
authorDan Williams <dcbw@redhat.com>
Thu, 12 Jan 2006 20:00:58 +0000 (15:00 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Jan 2006 21:51:53 +0000 (16:51 -0500)
commitd6a13a24b76236ade7fd70081ba41a51e8215578
tree85c495d422a6e152789108b8623245886afcd554
parenta485cde662f5b6b2299ee01a7e9e2c11683f807b
[PATCH] drivers/net/wireless: correct reported ssid lengths

ESSIDs can technically include NULL characters.  Drivers should not be
adjusting the length of the ESSID before reporting it in their
SIOCGIWESSID handlers.  Breaks stuff like wpa_supplicant.  Note that ipw
drivers, which seem to currently be the "most correct", don't have this
problem.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/airo.c
drivers/net/wireless/atmel.c
drivers/net/wireless/prism54/isl_ioctl.c
drivers/net/wireless/ray_cs.c
drivers/net/wireless/wavelan_cs.c