diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-06-16 19:56:42 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-10 14:57:53 -0400 |
commit | a538e2d5a30f577e9c8f6ccfe72b29a258e0fe86 (patch) | |
tree | 56bc91e64d25fc4fdc1f00f01e0afa8be519e252 /net/wireless/scan.c | |
parent | 222ec50a0a5d20e75522aacf4c767df6585e8548 (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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/wireless/scan.c b/net/wireless/scan.c index f8e71b30000..261a0638682 100644 --- a/net/wireless/scan.c +++ b/net/wireless/scan.c @@ -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; |