rndis_wlan: avoid uninitialized var warning in rndis_wlan_craft_connected_bss
authorJohn W. Linville <linville@tuxdriver.com>
Tue, 16 Nov 2010 21:49:08 +0000 (16:49 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 18 Nov 2010 19:22:22 +0000 (14:22 -0500)
commit458fafdd579dcb58c8288c55c9cd92d6816ba094
tree3ce161eeb3d6b6b8b5934b3fcd6ade168c868258
parent8befba6f2262a6e31d6e3bcf7d07ff46da444ec0
rndis_wlan: avoid uninitialized var warning in rndis_wlan_craft_connected_bss

  CC [M]  drivers/net/wireless/rndis_wlan.o
drivers/net/wireless/rndis_wlan.c: In function ‘rndis_wlan_craft_connected_bss’:
drivers/net/wireless/rndis_wlan.c:2542:2: warning: ‘ret’ may be used uninitialized in this function

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