diff options
author | David S. Miller <davem@davemloft.net> | 2010-05-18 00:09:11 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-18 00:09:11 -0400 |
commit | 820ae8a80eb59962aefbbd4908dfe144ec0f9edb (patch) | |
tree | 6c0f7356afff14e1c7d266de644810cd2de7caa9 /drivers/net/wireless/wl12xx | |
parent | 380fefb2ddabd4cd5f14dbe090481f0544e65078 (diff) | |
parent | 6fe70aae0d128339febfabc073ba4c4a03de4f45 (diff) |
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Diffstat (limited to 'drivers/net/wireless/wl12xx')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_main.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/wl1271_main.c index 5bb9e3fff961..b7d9137851ac 100644 --- a/drivers/net/wireless/wl12xx/wl1271_main.c +++ b/drivers/net/wireless/wl12xx/wl1271_main.c | |||
@@ -467,6 +467,7 @@ static void wl1271_irq_work(struct work_struct *work) | |||
467 | intr = le32_to_cpu(wl->fw_status->intr); | 467 | intr = le32_to_cpu(wl->fw_status->intr); |
468 | if (!intr) { | 468 | if (!intr) { |
469 | wl1271_debug(DEBUG_IRQ, "Zero interrupt received."); | 469 | wl1271_debug(DEBUG_IRQ, "Zero interrupt received."); |
470 | spin_lock_irqsave(&wl->wl_lock, flags); | ||
470 | continue; | 471 | continue; |
471 | } | 472 | } |
472 | 473 | ||
@@ -852,7 +853,7 @@ static int wl1271_dev_notify(struct notifier_block *me, unsigned long what, | |||
852 | if (wl == wl_temp) | 853 | if (wl == wl_temp) |
853 | break; | 854 | break; |
854 | } | 855 | } |
855 | if (wl == NULL) | 856 | if (wl != wl_temp) |
856 | return NOTIFY_DONE; | 857 | return NOTIFY_DONE; |
857 | 858 | ||
858 | /* Get the interface IP address for the device. "ifa" will become | 859 | /* Get the interface IP address for the device. "ifa" will become |
@@ -1558,8 +1559,6 @@ static int wl1271_op_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, | |||
1558 | default: | 1559 | default: |
1559 | wl1271_error("Unsupported key cmd 0x%x", cmd); | 1560 | wl1271_error("Unsupported key cmd 0x%x", cmd); |
1560 | ret = -EOPNOTSUPP; | 1561 | ret = -EOPNOTSUPP; |
1561 | goto out_sleep; | ||
1562 | |||
1563 | break; | 1562 | break; |
1564 | } | 1563 | } |
1565 | 1564 | ||