Skip to content

Commit

Permalink
wlcore: remove duplicate BUG_ON during recovery
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arik Nemtsov authored and Luciano Coelho committed Jun 5, 2012
1 parent 0c21298 commit 5a344b8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/wireless/ti/wlcore/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5a344b8

Please sign in to comment.