diff options
| author | David S. Miller <davem@davemloft.net> | 2010-03-31 22:32:50 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2010-03-31 22:32:50 -0400 |
| commit | d5dc056cce9e60528d5eac64efed623d26ffe46f (patch) | |
| tree | b5124013d0935be211fd1df702db2f69c581c5ab /net/mac80211/util.c | |
| parent | 00ae702847df5566ce9182e9c895185e2ad1c181 (diff) | |
| parent | 7371400431389e1df6a2a05ab9882055b8a6ff2c (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Diffstat (limited to 'net/mac80211/util.c')
| -rw-r--r-- | net/mac80211/util.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index c453226f06b2..53af57047435 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c | |||
| @@ -279,13 +279,13 @@ static void __ieee80211_wake_queue(struct ieee80211_hw *hw, int queue, | |||
| 279 | /* someone still has this queue stopped */ | 279 | /* someone still has this queue stopped */ |
| 280 | return; | 280 | return; |
| 281 | 281 | ||
| 282 | if (!skb_queue_empty(&local->pending[queue])) | 282 | if (skb_queue_empty(&local->pending[queue])) { |
| 283 | rcu_read_lock(); | ||
| 284 | list_for_each_entry_rcu(sdata, &local->interfaces, list) | ||
| 285 | netif_tx_wake_queue(netdev_get_tx_queue(sdata->dev, queue)); | ||
| 286 | rcu_read_unlock(); | ||
| 287 | } else | ||
| 283 | tasklet_schedule(&local->tx_pending_tasklet); | 288 | tasklet_schedule(&local->tx_pending_tasklet); |
| 284 | |||
| 285 | rcu_read_lock(); | ||
| 286 | list_for_each_entry_rcu(sdata, &local->interfaces, list) | ||
| 287 | netif_tx_wake_queue(netdev_get_tx_queue(sdata->dev, queue)); | ||
| 288 | rcu_read_unlock(); | ||
| 289 | } | 289 | } |
| 290 | 290 | ||
| 291 | void ieee80211_wake_queue_by_reason(struct ieee80211_hw *hw, int queue, | 291 | void ieee80211_wake_queue_by_reason(struct ieee80211_hw *hw, int queue, |
| @@ -1097,9 +1097,9 @@ int ieee80211_reconfig(struct ieee80211_local *local) | |||
| 1097 | */ | 1097 | */ |
| 1098 | res = drv_start(local); | 1098 | res = drv_start(local); |
| 1099 | if (res) { | 1099 | if (res) { |
| 1100 | WARN(local->suspended, "Harware became unavailable " | 1100 | WARN(local->suspended, "Hardware became unavailable " |
| 1101 | "upon resume. This is could be a software issue" | 1101 | "upon resume. This could be a software issue " |
| 1102 | "prior to suspend or a hardware issue\n"); | 1102 | "prior to suspend or a hardware issue.\n"); |
| 1103 | return res; | 1103 | return res; |
| 1104 | } | 1104 | } |
| 1105 | 1105 | ||
