Skip to content

Commit ff1ac75

Browse files
benzeajmberg-intel
authored andcommitted
wifi: mac80211: copy first_part into HW scan
cfg80211 now reports whether this is the first part of a scan. Copy that information into the driver request. Signed-off-by: Benjamin Berg <benjamin.berg@intel.com> Reviewed-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20250609213231.63f6078bd7be.Ia6e5cee945e6d9617c2f427552d89d23c92eee83@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent 62c57eb commit ff1ac75

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

net/mac80211/scan.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Copyright 2007, Michael Wu <flamingice@sourmilk.net>
1010
* Copyright 2013-2015 Intel Mobile Communications GmbH
1111
* Copyright 2016-2017 Intel Deutschland GmbH
12-
* Copyright (C) 2018-2024 Intel Corporation
12+
* Copyright (C) 2018-2025 Intel Corporation
1313
*/
1414

1515
#include <linux/if_arp.h>
@@ -800,6 +800,7 @@ static int __ieee80211_start_scan(struct ieee80211_sub_if_data *sdata,
800800
local->hw_scan_req->req.scan_6ghz_params =
801801
req->scan_6ghz_params;
802802
local->hw_scan_req->req.scan_6ghz = req->scan_6ghz;
803+
local->hw_scan_req->req.first_part = req->first_part;
803804

804805
/*
805806
* After allocating local->hw_scan_req, we must

0 commit comments

Comments
 (0)