From: Juuso Oikarinen Date: Tue, 26 Oct 2010 11:24:39 +0000 (+0200) Subject: wl1271: Check interface state in op_* functions X-Git-Tag: v2.6.38-rc1~476^2~558^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8d9802f66eda9ff14f7667f99a46b31e9a9e273;p=pandora-kernel.git wl1271: Check interface state in op_* functions Check the state of the interface on op_* function so we don't try to access the hardware in when its off. The mac80211 may call these in some corner cases related, for instance, to the hardware recovery procedure. These accesses cause a kernel crash on at least some SDIO devices, because the bus is not properly claimed in that scenario. Signed-off-by: Juuso Oikarinen Reviewed-by: Luciano Coelho Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed