Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 159366
b: refs/heads/master
c: 005ba2f
h: refs/heads/master
v: v3
  • Loading branch information
Jussi Kivilinna authored and John W. Linville committed Aug 4, 2009
1 parent 1b779ae commit f0156fe
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 110736de938b5bfdd63c86166e355d3f16115f6a
refs/heads/master: 005ba2f17e68b4da6a2c2c01c826294beac50415
8 changes: 8 additions & 0 deletions trunk/drivers/net/wireless/rndis_wlan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1484,6 +1484,9 @@ static void rndis_get_scan_results(struct work_struct *work)

devdbg(usbdev, "get_scan_results");

if (!priv->scan_request)
return;

ret = rndis_check_bssid_list(usbdev);

cfg80211_scan_done(priv->scan_request, ret < 0);
Expand Down Expand Up @@ -2522,6 +2525,11 @@ static int rndis_wlan_stop(struct usbnet *usbdev)
cancel_work_sync(&priv->work);
flush_workqueue(priv->workqueue);

if (priv->scan_request) {
cfg80211_scan_done(priv->scan_request, true);
priv->scan_request = NULL;
}

return retval;
}

Expand Down

0 comments on commit f0156fe

Please sign in to comment.