diff options
author | Arend Van Spriel <arend.vanspriel@broadcom.com> | 2017-04-21 15:05:02 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-04-27 00:17:40 +0300 |
commit | 3a3ecf1d5971b1f272124b445ef2d6b6ad3074fd (patch) | |
tree | 48719400204366d7103a5520aef2addec8b6e908 /net/wireless/scan.c | |
parent | 3007e3529ce1efd9c370a7b81633e45f730ae35b (diff) | |
download | linux-3a3ecf1d5971b1f272124b445ef2d6b6ad3074fd.tar.xz |
cfg80211: add request id parameter to .sched_scan_stop() signature
For multiple scheduled scan support the driver needs to know which
scheduled scan request is being stopped. Pass the request id in the
.sched_scan_stop() callback.
Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
Reviewed-by: Franky Lin <franky.lin@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/scan.c')
-rw-r--r-- | net/wireless/scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/scan.c b/net/wireless/scan.c index bd9feed95c1e..8d86f704bcf3 100644 --- a/net/wireless/scan.c +++ b/net/wireless/scan.c @@ -436,7 +436,7 @@ int cfg80211_stop_sched_scan_req(struct cfg80211_registered_device *rdev, ASSERT_RTNL(); if (!driver_initiated) { - int err = rdev_sched_scan_stop(rdev, req->dev); + int err = rdev_sched_scan_stop(rdev, req->dev, req->reqid); if (err) return err; } |