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>

authored by Holger Schurig and committed by John W. Linville 877cb0d4 bfe87dbc

+1 -1
+1 -1
drivers/net/wireless/libertas/assoc.c
··· 541 } 542 543 if (find_any_ssid) { 544 - u8 new_mode; 545 546 ret = lbs_find_best_network_ssid(priv, assoc_req->ssid, 547 &assoc_req->ssid_len, assoc_req->mode, &new_mode);
··· 541 } 542 543 if (find_any_ssid) { 544 + u8 new_mode = assoc_req->mode; 545 546 ret = lbs_find_best_network_ssid(priv, assoc_req->ssid, 547 &assoc_req->ssid_len, assoc_req->mode, &new_mode);