Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150675
b: refs/heads/master
c: b55d6bc
h: refs/heads/master
i:
  150673: c81f051
  150671: c103418
v: v3
  • Loading branch information
Christian Lamparter authored and John W. Linville committed Jun 3, 2009
1 parent 8782ba7 commit d4d3ec5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2431fe9a4b43ccf03589fa661662da6bfbd97282
refs/heads/master: b55d6bcf9b7082ae613e5d532608abcd409164ca
5 changes: 1 addition & 4 deletions trunk/drivers/net/wireless/ath/ar9170/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,6 @@ static void ar9170_tx_status_janitor(struct work_struct *work)
if (unlikely(!IS_STARTED(ar)))
return ;

mutex_lock(&ar->mutex);
/* recycle the garbage back to mac80211... one by one. */
while ((skb = skb_dequeue(&ar->global_tx_status_waste))) {
#ifdef AR9170_QUEUE_DEBUG
Expand All @@ -369,8 +368,6 @@ static void ar9170_tx_status_janitor(struct work_struct *work)
if (skb_queue_len(&ar->global_tx_status_waste) > 0)
queue_delayed_work(ar->hw->workqueue, &ar->tx_status_janitor,
msecs_to_jiffies(100));

mutex_unlock(&ar->mutex);
}

static void ar9170_handle_command_response(struct ar9170 *ar,
Expand Down Expand Up @@ -1013,10 +1010,10 @@ static void ar9170_op_stop(struct ieee80211_hw *hw)

flush_workqueue(ar->hw->workqueue);

mutex_lock(&ar->mutex);
cancel_delayed_work_sync(&ar->tx_status_janitor);
cancel_work_sync(&ar->filter_config_work);
cancel_work_sync(&ar->beacon_work);
mutex_lock(&ar->mutex);
skb_queue_purge(&ar->global_tx_status_waste);
skb_queue_purge(&ar->global_tx_status);

Expand Down

0 comments on commit d4d3ec5

Please sign in to comment.