diff options
author | Arik Nemtsov <arik@wizery.com> | 2012-05-15 09:46:58 -0400 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-06-05 13:24:31 -0400 |
commit | 5a344b87ce1f27dade9f320aeb08ba7401d8c984 (patch) | |
tree | e5871b014181f07f7566640e054b78e8717952e4 /drivers | |
parent | 0c2129843502833c6e4117db8f312b625a23ef15 (diff) |
wlcore: remove duplicate BUG_ON during recovery
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ti/wlcore/main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ti/wlcore/main.c b/drivers/net/wireless/ti/wlcore/main.c index b0607f6e4e4e..414fde41072c 100644 --- a/drivers/net/wireless/ti/wlcore/main.c +++ b/drivers/net/wireless/ti/wlcore/main.c | |||
@@ -852,8 +852,6 @@ static void wl1271_recovery_work(struct work_struct *work) | |||
852 | goto out_unlock; | 852 | goto out_unlock; |
853 | } | 853 | } |
854 | 854 | ||
855 | BUG_ON(bug_on_recovery); | ||
856 | |||
857 | /* | 855 | /* |
858 | * Advance security sequence number to overcome potential progress | 856 | * Advance security sequence number to overcome potential progress |
859 | * in the firmware during recovery. This doens't hurt if the network is | 857 | * in the firmware during recovery. This doens't hurt if the network is |