mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
wifi: iwlwifi: mld: CHANNEL_SURVEY_NOTIF is always supported
This notification is supported in FW since API 100. Since we don't support any API older than that, we don't need to check whether the notification is supported. Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20250909061931.b43f7da0d63b.I7386aeef5fae70dc4b0901cfb650eeaecb4c1575@changeid
This commit is contained in:
parent
9a8a37c14f
commit
bc4a45f8da
|
|
@ -504,9 +504,7 @@ iwl_mld_scan_get_cmd_gen_flags2(struct iwl_mld *mld,
|
|||
*/
|
||||
if (scan_status == IWL_MLD_SCAN_REGULAR &&
|
||||
ieee80211_vif_type_p2p(vif) == NL80211_IFTYPE_AP &&
|
||||
gen_flags & IWL_UMAC_SCAN_GEN_FLAGS_V2_FORCE_PASSIVE &&
|
||||
iwl_fw_lookup_notif_ver(mld->fw, SCAN_GROUP,
|
||||
CHANNEL_SURVEY_NOTIF, 0) >= 1)
|
||||
gen_flags & IWL_UMAC_SCAN_GEN_FLAGS_V2_FORCE_PASSIVE)
|
||||
flags |= IWL_UMAC_SCAN_GEN_FLAGS2_COLLECT_CHANNEL_STATS;
|
||||
|
||||
return flags;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user