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:
committed by
John W. Linville
parent
222ec50a0a
commit
a538e2d5a3
+2
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user