staging: wlags49_h2: Stop playing with length in GIWESSID handler
commite7751b6384596cc9a2646f037a03ad57f6201f6d
authorDavid Kilroy <kilroyd@googlemail.com>
Sun, 25 Sep 2011 07:30:19 +0000 (25 08:30 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 27 Sep 2011 00:46:32 +0000 (26 17:46 -0700)
treedbc4023143d691281aa7948fbfb7583d9ede570d
parent145a401fc43fa82cf1aad55bc35a7f6c5bbd1ecb
staging: wlags49_h2: Stop playing with length in GIWESSID handler

WE21 clarified that ESSID should not be NULL terminated.
The existing code didn't NULL terminate, but did play with length
and then reset it again. Just stop it.

Signed-off-by: David Kilroy <kilroyd@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/wlags49_h2/wl_wext.c