rndis_wlan: resize bssid list if too small
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Fri, 28 Aug 2009 09:59:00 +0000 (12:59 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Aug 2009 18:40:56 +0000 (14:40 -0400)
commit5fd8f2503b0888ed0c8e0017264059a3f9dc51c0
treeaf5b0d441c535ebd1cc01b38662ddad92a9f2d1b
parentdb0dd396da45502e02c64c4153c5822ab5a59a5f
rndis_wlan: resize bssid list if too small

Buffer used for bssid list might be too small. Change rndis_query_oid()
to return required buffer length to caller and make rndis_check_bssid_list()
resize buffer when needed.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rndis_wlan.c