wlcore: remove duplicate BUG_ON during recovery
authorArik Nemtsov <arik@wizery.com>
Tue, 15 May 2012 13:46:58 +0000 (16:46 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jun 2012 17:24:31 +0000 (20:24 +0300)
This BUG_ON also ignored the INTENDED_FW_RECOVERY flag. This would
result in a BUG() when using the bug_on_recovery module parameter during
multi-role.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c

index b0607f6e4e4ea476e73a6d353c669bb5d8731ce2..414fde41072cfa804b3178cd9be2f1c91e645adf 100644 (file)
@@ -852,8 +852,6 @@ static void wl1271_recovery_work(struct work_struct *work)
                goto out_unlock;
        }
 
-       BUG_ON(bug_on_recovery);
-
        /*
         * Advance security sequence number to overcome potential progress
         * in the firmware during recovery. This doens't hurt if the network is