File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
drivers/net/wireless/intel/iwlwifi/mld Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -1895,7 +1895,6 @@ int iwl_mld_wowlan_resume(struct iwl_mld *mld)
18951895 int link_id ;
18961896 int ret ;
18971897 bool fw_err = false;
1898- bool keep_connection ;
18991898
19001899 lockdep_assert_wiphy (mld -> wiphy );
19011900
@@ -1965,19 +1964,18 @@ int iwl_mld_wowlan_resume(struct iwl_mld *mld)
19651964 iwl_mld_process_netdetect_res (mld , bss_vif , & resume_data );
19661965 mld -> netdetect = false;
19671966 } else {
1968- keep_connection =
1967+ bool keep_connection =
19691968 iwl_mld_process_wowlan_status (mld , bss_vif ,
19701969 resume_data .wowlan_status );
19711970
19721971 /* EMLSR state will be cleared if the connection is not kept */
19731972 if (keep_connection )
19741973 iwl_mld_unblock_emlsr (mld , bss_vif ,
19751974 IWL_MLD_EMLSR_BLOCKED_WOWLAN );
1975+ else
1976+ ieee80211_resume_disconnect (bss_vif );
19761977 }
19771978
1978- if (!mld -> netdetect && !keep_connection )
1979- ieee80211_resume_disconnect (bss_vif );
1980-
19811979 goto out ;
19821980
19831981 err :
You can’t perform that action at this time.
0 commit comments