iwlagn: provide heplers to access the transport ops
[deliverable/linux.git] / drivers / net / wireless / iwlwifi / iwl-led.c
index d5bc3e09a92f5e724836245677fb3be34277d956..60e4169f25e1fb85f8763e9d4ef60c3999bdc164 100644 (file)
@@ -40,6 +40,7 @@
 #include "iwl-core.h"
 #include "iwl-agn.h"
 #include "iwl-io.h"
+#include "iwl-trans.h"
 
 /* Throughput          OFF time(ms)    ON time (ms)
  *     >300                    25              25
@@ -111,7 +112,7 @@ static int iwl_send_led_cmd(struct iwl_priv *priv, struct iwl_led_cmd *led_cmd)
        if (reg != (reg & CSR_LED_BSM_CTRL_MSK))
                iwl_write32(priv, CSR_LED_REG, reg & CSR_LED_BSM_CTRL_MSK);
 
-       return priv->trans.ops->send_cmd(priv, &cmd);
+       return trans_send_cmd(priv, &cmd);
 }
 
 /* Set led pattern command */
This page took 0.024705 seconds and 5 git commands to generate.