Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 159100
b: refs/heads/master
c: 6682588
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Jul 24, 2009
1 parent e2e8217 commit 00937a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 0e2b6286805c419d28a4c1e19e3a121af7449b20
refs/heads/master: 6682588a08b8be34649348051bc0204f7ab401a2
10 changes: 5 additions & 5 deletions trunk/net/wireless/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -548,11 +548,6 @@ void wiphy_unregister(struct wiphy *wiphy)
/* unlock again before freeing */
mutex_unlock(&rdev->mtx);

cancel_work_sync(&rdev->conn_work);
cancel_work_sync(&rdev->scan_done_wk);
kfree(rdev->scan_req);
flush_work(&rdev->event_work);

cfg80211_debugfs_rdev_del(rdev);

/* If this device got a regulatory hint tell core its
Expand All @@ -564,6 +559,11 @@ void wiphy_unregister(struct wiphy *wiphy)
debugfs_remove(rdev->wiphy.debugfsdir);

mutex_unlock(&cfg80211_mutex);

cancel_work_sync(&rdev->conn_work);
cancel_work_sync(&rdev->scan_done_wk);
kfree(rdev->scan_req);
flush_work(&rdev->event_work);
}
EXPORT_SYMBOL(wiphy_unregister);

Expand Down

0 comments on commit 00937a4

Please sign in to comment.