diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/wl1271_main.c index b61cd102752f..55aa813c82c7 100644 --- a/drivers/net/wireless/wl12xx/wl1271_main.c +++ b/drivers/net/wireless/wl12xx/wl1271_main.c | |||
@@ -852,7 +852,7 @@ static int wl1271_dev_notify(struct notifier_block *me, unsigned long what, | |||
852 | if (wl == wl_temp) | 852 | if (wl == wl_temp) |
853 | break; | 853 | break; |
854 | } | 854 | } |
855 | if (wl == NULL) | 855 | if (wl != wl_temp) |
856 | return NOTIFY_DONE; | 856 | return NOTIFY_DONE; |
857 | 857 | ||
858 | /* Get the interface IP address for the device. "ifa" will become | 858 | /* Get the interface IP address for the device. "ifa" will become |