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)
1895
1895
int link_id ;
1896
1896
int ret ;
1897
1897
bool fw_err = false;
1898
- bool keep_connection ;
1899
1898
1900
1899
lockdep_assert_wiphy (mld -> wiphy );
1901
1900
@@ -1965,19 +1964,18 @@ int iwl_mld_wowlan_resume(struct iwl_mld *mld)
1965
1964
iwl_mld_process_netdetect_res (mld , bss_vif , & resume_data );
1966
1965
mld -> netdetect = false;
1967
1966
} else {
1968
- keep_connection =
1967
+ bool keep_connection =
1969
1968
iwl_mld_process_wowlan_status (mld , bss_vif ,
1970
1969
resume_data .wowlan_status );
1971
1970
1972
1971
/* EMLSR state will be cleared if the connection is not kept */
1973
1972
if (keep_connection )
1974
1973
iwl_mld_unblock_emlsr (mld , bss_vif ,
1975
1974
IWL_MLD_EMLSR_BLOCKED_WOWLAN );
1975
+ else
1976
+ ieee80211_resume_disconnect (bss_vif );
1976
1977
}
1977
1978
1978
- if (!mld -> netdetect && !keep_connection )
1979
- ieee80211_resume_disconnect (bss_vif );
1980
-
1981
1979
goto out ;
1982
1980
1983
1981
err :
You can’t perform that action at this time.
0 commit comments