iwlagn: consolidate the API that sends host commands and move to transport
[pandora-kernel.git] / drivers / net / wireless / iwlwifi / iwl-sv-open.c
index c00aa5a..6f92d22 100644 (file)
@@ -239,7 +239,7 @@ static int iwl_testmode_ucode(struct ieee80211_hw *hw, struct nlattr **tb)
        IWL_INFO(priv, "testmode ucode command ID 0x%x, flags 0x%x,"
                                " len %d\n", cmd.id, cmd.flags, cmd.len[0]);
        /* ok, let's submit the command to ucode */
-       return iwl_send_cmd(priv, &cmd);
+       return priv->trans.ops->send_cmd(priv, &cmd);
 }