]> git.karo-electronics.de Git - linux-beck.git/commitdiff
wl12xx: don't disconnect on recovery
authorEliad Peller <eliad@wizery.com>
Sun, 28 Aug 2011 12:11:53 +0000 (15:11 +0300)
committerLuciano Coelho <coelho@ti.com>
Wed, 14 Sep 2011 08:47:26 +0000 (11:47 +0300)
allow full connection recovery by dropping the
beacon_loss notification.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c

index 8324d905b431c9f758a11ff7270044e79c936b10..8aff8d4102d5d92baf43ee4d275a0acade82d62f 100644 (file)
@@ -1225,9 +1225,6 @@ static void wl1271_recovery_work(struct work_struct *work)
            test_bit(WL1271_FLAG_AP_STARTED, &wl->flags))
                wl->tx_security_seq += WL1271_TX_SQN_POST_RECOVERY_PADDING;
 
-       if (test_bit(WL1271_FLAG_STA_ASSOCIATED, &wl->flags))
-               ieee80211_connection_loss(wl->vif);
-
        /* Prevent spurious TX during FW restart */
        ieee80211_stop_queues(wl->hw);