|
@@ -2773,12 +2773,12 @@ struct cfg80211_nan_func {
|
|
|
* @set_cqm_txe_config: Configure connection quality monitor TX error
|
|
|
* thresholds.
|
|
|
* @sched_scan_start: Tell the driver to start a scheduled scan.
|
|
|
- * @sched_scan_stop: Tell the driver to stop an ongoing scheduled scan. This
|
|
|
- * call must stop the scheduled scan and be ready for starting a new one
|
|
|
- * before it returns, i.e. @sched_scan_start may be called immediately
|
|
|
- * after that again and should not fail in that case. The driver should
|
|
|
- * not call cfg80211_sched_scan_stopped() for a requested stop (when this
|
|
|
- * method returns 0.)
|
|
|
+ * @sched_scan_stop: Tell the driver to stop an ongoing scheduled scan with
|
|
|
+ * given request id. This call must stop the scheduled scan and be ready
|
|
|
+ * for starting a new one before it returns, i.e. @sched_scan_start may be
|
|
|
+ * called immediately after that again and should not fail in that case.
|
|
|
+ * The driver should not call cfg80211_sched_scan_stopped() for a requested
|
|
|
+ * stop (when this method returns 0).
|
|
|
*
|
|
|
* @mgmt_frame_register: Notify driver that a management frame type was
|
|
|
* registered. The callback is allowed to sleep.
|
|
@@ -3076,7 +3076,8 @@ struct cfg80211_ops {
|
|
|
int (*sched_scan_start)(struct wiphy *wiphy,
|
|
|
struct net_device *dev,
|
|
|
struct cfg80211_sched_scan_request *request);
|
|
|
- int (*sched_scan_stop)(struct wiphy *wiphy, struct net_device *dev);
|
|
|
+ int (*sched_scan_stop)(struct wiphy *wiphy, struct net_device *dev,
|
|
|
+ u64 reqid);
|
|
|
|
|
|
int (*set_rekey_data)(struct wiphy *wiphy, struct net_device *dev,
|
|
|
struct cfg80211_gtk_rekey_data *data);
|