Skip to content

Commit bc4a45f

Browse files
committed
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 <[email protected]> Signed-off-by: Miri Korenblit <[email protected]> Link: https://patch.msgid.link/20250909061931.b43f7da0d63b.I7386aeef5fae70dc4b0901cfb650eeaecb4c1575@changeid
1 parent 9a8a37c commit bc4a45f

File tree

1 file changed

+1
-3
lines changed
  • drivers/net/wireless/intel/iwlwifi/mld

1 file changed

+1
-3
lines changed

drivers/net/wireless/intel/iwlwifi/mld/scan.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -504,9 +504,7 @@ iwl_mld_scan_get_cmd_gen_flags2(struct iwl_mld *mld,
504504
*/
505505
if (scan_status == IWL_MLD_SCAN_REGULAR &&
506506
ieee80211_vif_type_p2p(vif) == NL80211_IFTYPE_AP &&
507-
gen_flags & IWL_UMAC_SCAN_GEN_FLAGS_V2_FORCE_PASSIVE &&
508-
iwl_fw_lookup_notif_ver(mld->fw, SCAN_GROUP,
509-
CHANNEL_SURVEY_NOTIF, 0) >= 1)
507+
gen_flags & IWL_UMAC_SCAN_GEN_FLAGS_V2_FORCE_PASSIVE)
510508
flags |= IWL_UMAC_SCAN_GEN_FLAGS2_COLLECT_CHANNEL_STATS;
511509

512510
return flags;

0 commit comments

Comments
 (0)