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>
This commit is contained in:
Johannes Berg
2009-06-16 19:56:42 +02:00
committed by John W. Linville
parent 222ec50a0a
commit a538e2d5a3
3 changed files with 34 additions and 10 deletions
+2 -1
View File
@@ -647,7 +647,8 @@ int cfg80211_wext_siwscan(struct net_device *dev,
if (err) {
rdev->scan_req = NULL;
kfree(creq);
}
} else
nl80211_send_scan_start(rdev, dev);
out:
cfg80211_put_dev(rdev);
return err;