Commit 5a344b87 authored by Arik Nemtsov's avatar Arik Nemtsov Committed by Luciano Coelho
Browse files

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: default avatarArik Nemtsov <arik@wizery.com>
Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
parent 0c212984
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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