Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134945
b: refs/heads/master
c: 1cc198f
h: refs/heads/master
i:
  134943: 3a14e98
v: v3
  • Loading branch information
Jason Andryuk authored and John W. Linville committed Feb 27, 2009
1 parent 9292fee commit 05b15a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5a2137ddcc4b4d0d9227db433eabaefa3c3bd924
refs/heads/master: 1cc198fee9eb60d9dddbdcb6f32a6e36e5136769
6 changes: 6 additions & 0 deletions trunk/drivers/net/wireless/at76c50x-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1497,6 +1497,9 @@ static void at76_work_set_promisc(struct work_struct *work)
work_set_promisc);
int ret = 0;

if (priv->device_unplugged)
return;

mutex_lock(&priv->mtx);

priv->mib_buf.type = MIB_LOCAL;
Expand Down Expand Up @@ -2290,6 +2293,7 @@ static void at76_delete_device(struct at76_priv *priv)
tasklet_kill(&priv->rx_tasklet);

if (priv->mac80211_registered) {
cancel_delayed_work(&priv->dwork_hw_scan);
flush_workqueue(priv->hw->workqueue);
ieee80211_unregister_hw(priv->hw);
}
Expand All @@ -2307,6 +2311,8 @@ static void at76_delete_device(struct at76_priv *priv)

kfree(priv->bulk_out_buffer);

del_timer_sync(&ledtrig_tx_timer);

if (priv->rx_skb)
kfree_skb(priv->rx_skb);

Expand Down

0 comments on commit 05b15a8

Please sign in to comment.