mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
staging: wilc1000: isr_bh_routine: use wilc instead of g_linux_wlan
Use netdev private data member wilc instead of g_linux_wlan. Signed-off-by: Glen Lee <glen.lee@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3948362d56
commit
2e7933d0e7
1 changed files with 7 additions and 1 deletions
|
|
@ -248,8 +248,14 @@ static irqreturn_t isr_uh_routine(int irq, void *user_data)
|
|||
|
||||
irqreturn_t isr_bh_routine(int irq, void *userdata)
|
||||
{
|
||||
perInterface_wlan_t *nic;
|
||||
struct wilc *wilc;
|
||||
|
||||
nic = netdev_priv(userdata);
|
||||
wilc = nic->wilc;
|
||||
|
||||
/*While mac is closing cacncel the handling of any interrupts received*/
|
||||
if (g_linux_wlan->close) {
|
||||
if (wilc->close) {
|
||||
PRINT_ER("Driver is CLOSING: Can't handle BH interrupt\n");
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue