aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/scan.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-06-16 13:56:42 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 14:57:53 -0400
commita538e2d5a30f577e9c8f6ccfe72b29a258e0fe86 (patch)
tree56bc91e64d25fc4fdc1f00f01e0afa8be519e252 /net/wireless/scan.c
parent222ec50a0a5d20e75522aacf4c767df6585e8548 (diff)
cfg80211: issue netlink notification when scan starts
To ease multiple apps working together smoothly, send a notification when a scan is started. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/scan.c')
-rw-r--r--net/wireless/scan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/wireless/scan.c b/net/wireless/scan.c
index f8e71b300001..261a06386822 100644
--- a/net/wireless/scan.c
+++ b/net/wireless/scan.c
@@ -647,7 +647,8 @@ int cfg80211_wext_siwscan(struct net_device *dev,
647 if (err) { 647 if (err) {
648 rdev->scan_req = NULL; 648 rdev->scan_req = NULL;
649 kfree(creq); 649 kfree(creq);
650 } 650 } else
651 nl80211_send_scan_start(rdev, dev);
651 out: 652 out:
652 cfg80211_put_dev(rdev); 653 cfg80211_put_dev(rdev);
653 return err; 654 return err;