libertas: fix mode initialization problem
authorHolger Schurig <hs4233@mail.mn-solutions.de>
Wed, 2 Apr 2008 14:34:51 +0000 (16:34 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Apr 2008 02:19:28 +0000 (22:19 -0400)
commit877cb0d4af2658beb5f89d38ae51968782f62fad
tree38c3c0195a602bd4de514c7fdfe59642a35b83d4
parentbfe87dbc7b4da5b05a1a78480e996787a500cc6f
libertas: fix mode initialization problem

After moving lbs_find_best_network_ssid() from scan.c to assoc.c gcc was
able to deduce that new_mode might stay uninitialized.

Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/assoc.c