We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f05c14 commit 575fe08Copy full SHA for 575fe08
drivers/net/wireless/intel/iwlwifi/mld/mac80211.c
@@ -475,8 +475,8 @@ static
475
int iwl_mld_mac80211_start(struct ieee80211_hw *hw)
476
{
477
struct iwl_mld *mld = IWL_MAC80211_GET_MLD(hw);
478
- int ret;
479
bool in_d3 = false;
+ int ret = 0;
480
481
lockdep_assert_wiphy(mld->wiphy);
482
@@ -501,7 +501,7 @@ int iwl_mld_mac80211_start(struct ieee80211_hw *hw)
501
iwl_mld_restart_cleanup(mld);
502
}
503
504
- if (!in_d3) {
+ if (!in_d3 || ret) {
505
ret = iwl_mld_start_fw(mld);
506
if (ret)
507
goto error;
0 commit comments