diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-sv-open.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-sv-open.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-sv-open.c b/drivers/net/wireless/iwlwifi/iwl-sv-open.c index 5e50d88f302b..e3882d0cfc85 100644 --- a/drivers/net/wireless/iwlwifi/iwl-sv-open.c +++ b/drivers/net/wireless/iwlwifi/iwl-sv-open.c | |||
@@ -396,8 +396,7 @@ static int iwl_testmode_driver(struct ieee80211_hw *hw, struct nlattr **tb) | |||
396 | break; | 396 | break; |
397 | 397 | ||
398 | case IWL_TM_CMD_APP2DEV_LOAD_INIT_FW: | 398 | case IWL_TM_CMD_APP2DEV_LOAD_INIT_FW: |
399 | status = iwlagn_load_ucode_wait_alive(priv, &priv->ucode_init, | 399 | status = iwlagn_load_ucode_wait_alive(priv, IWL_UCODE_INIT); |
400 | IWL_UCODE_INIT); | ||
401 | if (status) | 400 | if (status) |
402 | IWL_DEBUG_INFO(priv, | 401 | IWL_DEBUG_INFO(priv, |
403 | "Error loading init ucode: %d\n", status); | 402 | "Error loading init ucode: %d\n", status); |
@@ -409,9 +408,7 @@ static int iwl_testmode_driver(struct ieee80211_hw *hw, struct nlattr **tb) | |||
409 | break; | 408 | break; |
410 | 409 | ||
411 | case IWL_TM_CMD_APP2DEV_LOAD_RUNTIME_FW: | 410 | case IWL_TM_CMD_APP2DEV_LOAD_RUNTIME_FW: |
412 | status = iwlagn_load_ucode_wait_alive(priv, | 411 | status = iwlagn_load_ucode_wait_alive(priv, IWL_UCODE_REGULAR); |
413 | &priv->ucode_rt, | ||
414 | IWL_UCODE_REGULAR); | ||
415 | if (status) { | 412 | if (status) { |
416 | IWL_DEBUG_INFO(priv, | 413 | IWL_DEBUG_INFO(priv, |
417 | "Error loading runtime ucode: %d\n", status); | 414 | "Error loading runtime ucode: %d\n", status); |