wl1251: clear bss_lost on join
[pandora-kernel.git] / drivers / net / wireless / wl1251 / main.c
index e7f1818..b012867 100644 (file)
@@ -375,6 +375,7 @@ static int wl1251_join(struct wl1251 *wl, u8 bss_type, u8 channel,
                wl1251_warning("join timeout");
 
        wl1251_no_ps_event(wl);
+       wl->bss_lost = 0;
 
 out:
        return ret;