diff options
author | David S. Miller <davem@davemloft.net> | 2009-05-25 04:42:21 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-25 04:42:21 -0400 |
commit | c649c0e31d5736a4b7c5c3454182091dda4bbe62 (patch) | |
tree | 93da11bf4ea828611ab5277a7dbadf57724c2b1e /drivers/net/wireless/iwlwifi | |
parent | daebafed7fef54fcc73d2d01431122cfd578d1e0 (diff) | |
parent | 4e2fd555199977c5994d1a4d2d3b8761b20ca4c7 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/wireless/ath/ath5k/phy.c
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl3945-base.c
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-5000.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-scan.c | 7 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 2 |
3 files changed, 7 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c index 89e1477b5143..ab29aab6b2d5 100644 --- a/drivers/net/wireless/iwlwifi/iwl-5000.c +++ b/drivers/net/wireless/iwlwifi/iwl-5000.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include "iwl-6000-hw.h" | 46 | #include "iwl-6000-hw.h" |
47 | 47 | ||
48 | /* Highest firmware API version supported */ | 48 | /* Highest firmware API version supported */ |
49 | #define IWL5000_UCODE_API_MAX 1 | 49 | #define IWL5000_UCODE_API_MAX 2 |
50 | #define IWL5150_UCODE_API_MAX 2 | 50 | #define IWL5150_UCODE_API_MAX 2 |
51 | 51 | ||
52 | /* Lowest firmware API version supported */ | 52 | /* Lowest firmware API version supported */ |
diff --git a/drivers/net/wireless/iwlwifi/iwl-scan.c b/drivers/net/wireless/iwlwifi/iwl-scan.c index f6d4af5c7509..e26875dbe859 100644 --- a/drivers/net/wireless/iwlwifi/iwl-scan.c +++ b/drivers/net/wireless/iwlwifi/iwl-scan.c | |||
@@ -227,9 +227,6 @@ static void iwl_rx_scan_complete_notif(struct iwl_priv *priv, | |||
227 | /* The HW is no longer scanning */ | 227 | /* The HW is no longer scanning */ |
228 | clear_bit(STATUS_SCAN_HW, &priv->status); | 228 | clear_bit(STATUS_SCAN_HW, &priv->status); |
229 | 229 | ||
230 | /* The scan completion notification came in, so kill that timer... */ | ||
231 | cancel_delayed_work(&priv->scan_check); | ||
232 | |||
233 | IWL_DEBUG_INFO(priv, "Scan pass on %sGHz took %dms\n", | 230 | IWL_DEBUG_INFO(priv, "Scan pass on %sGHz took %dms\n", |
234 | (priv->scan_bands & BIT(IEEE80211_BAND_2GHZ)) ? | 231 | (priv->scan_bands & BIT(IEEE80211_BAND_2GHZ)) ? |
235 | "2.4" : "5.2", | 232 | "2.4" : "5.2", |
@@ -592,6 +589,8 @@ static void iwl_bg_request_scan(struct work_struct *data) | |||
592 | 589 | ||
593 | mutex_lock(&priv->mutex); | 590 | mutex_lock(&priv->mutex); |
594 | 591 | ||
592 | cancel_delayed_work(&priv->scan_check); | ||
593 | |||
595 | if (!iwl_is_ready(priv)) { | 594 | if (!iwl_is_ready(priv)) { |
596 | IWL_WARN(priv, "request scan called when driver not ready.\n"); | 595 | IWL_WARN(priv, "request scan called when driver not ready.\n"); |
597 | goto done; | 596 | goto done; |
@@ -819,6 +818,8 @@ void iwl_bg_scan_completed(struct work_struct *work) | |||
819 | 818 | ||
820 | IWL_DEBUG_SCAN(priv, "SCAN complete scan\n"); | 819 | IWL_DEBUG_SCAN(priv, "SCAN complete scan\n"); |
821 | 820 | ||
821 | cancel_delayed_work(&priv->scan_check); | ||
822 | |||
822 | ieee80211_scan_completed(priv->hw, false); | 823 | ieee80211_scan_completed(priv->hw, false); |
823 | 824 | ||
824 | if (test_bit(STATUS_EXIT_PENDING, &priv->status)) | 825 | if (test_bit(STATUS_EXIT_PENDING, &priv->status)) |
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index c434f493daf5..5c10b87d0336 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -2937,6 +2937,8 @@ static void iwl3945_bg_request_scan(struct work_struct *data) | |||
2937 | 2937 | ||
2938 | mutex_lock(&priv->mutex); | 2938 | mutex_lock(&priv->mutex); |
2939 | 2939 | ||
2940 | cancel_delayed_work(&priv->scan_check); | ||
2941 | |||
2940 | if (!iwl_is_ready(priv)) { | 2942 | if (!iwl_is_ready(priv)) { |
2941 | IWL_WARN(priv, "request scan called when driver not ready.\n"); | 2943 | IWL_WARN(priv, "request scan called when driver not ready.\n"); |
2942 | goto done; | 2944 | goto done; |