Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261055
b: refs/heads/master
c: e61b52d
h: refs/heads/master
i:
  261053: ee46b51
  261051: 5385227
  261047: 094baaf
  261039: f1118e7
  261023: e51c66d
  260991: f4b7d97
v: v3
  • Loading branch information
Pavel Roskin authored and John W. Linville committed Jul 26, 2011
1 parent eeadb6e commit 5a29f76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 6f89062a66d8b88ca89a15a6cebc0bc0db284441
refs/heads/master: e61b52d1309df08b86a35e54a61f0cc932b28291
5 changes: 3 additions & 2 deletions trunk/drivers/net/wireless/b43/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -5350,6 +5350,7 @@ static void b43_ssb_remove(struct ssb_device *sdev)
{
struct b43_wl *wl = ssb_get_devtypedata(sdev);
struct b43_wldev *wldev = ssb_get_drvdata(sdev);
struct b43_bus_dev *dev = wldev->dev;

/* We must cancel any work here before unregistering from ieee80211,
* as the ieee80211 unreg will destroy the workqueue. */
Expand All @@ -5365,14 +5366,14 @@ static void b43_ssb_remove(struct ssb_device *sdev)
ieee80211_unregister_hw(wl->hw);
}

b43_one_core_detach(wldev->dev);
b43_one_core_detach(dev);

if (list_empty(&wl->devlist)) {
b43_leds_unregister(wl);
/* Last core on the chip unregistered.
* We can destroy common struct b43_wl.
*/
b43_wireless_exit(wldev->dev, wl);
b43_wireless_exit(dev, wl);
}
}

Expand Down

0 comments on commit 5a29f76

Please sign in to comment.