瀏覽代碼

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>
Arik Nemtsov 13 年之前
父節點
當前提交
5a344b87ce
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/net/wireless/ti/wlcore/main.c

+ 0 - 2
drivers/net/wireless/ti/wlcore/main.c

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