wl12xx: avoid bug_on_recovery during fw switch
authorEliad Peller <eliad@wizery.com>
Sun, 4 Mar 2012 08:55:54 +0000 (10:55 +0200)
committerLuciano Coelho <coelho@ti.com>
Mon, 5 Mar 2012 13:45:26 +0000 (15:45 +0200)
commite9ba7152c1f5babd6ad9ad45619e0a10b4c08554
tree379a478f07f17c0ae2fe3057756825df8e2d671b
parent6667776d3cf32dd3809a18917c2b7adb8ef12aa2
wl12xx: avoid bug_on_recovery during fw switch

Add a flag to indicate we initiated a recovery work
on purpose, in order to avoid triggering BUG() (when
the bug_on_recovery module param was set).

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c
drivers/net/wireless/wl12xx/wl12xx.h