Signed-off-by: Steve deRosier <steve@xxxxxxxxxxx> --- drivers/net/wireless/libertas_tf/main.c | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/net/wireless/libertas_tf/main.c b/drivers/net/wireless/libertas_tf/main.c index 14ce1bc..b797787 100644 --- a/drivers/net/wireless/libertas_tf/main.c +++ b/drivers/net/wireless/libertas_tf/main.c @@ -327,20 +327,20 @@ static int lbtf_op_start(struct ieee80211_hw *hw) lbtf_deb_enter(LBTF_DEB_MACOPS); - if (priv->hw_prog_firmware) { - if (!priv->fw_ready) { - lbtf_deb_main("Going to upload fw..."); - /* Upload firmware */ + if (!priv->fw_ready) { + lbtf_deb_main("Going to upload fw..."); + /* Upload firmware */ + if (priv->hw_prog_firmware) { if (priv->hw_prog_firmware(card)) goto err_prog_firmware; else priv->fw_ready = 1; - } else { - if (priv->enable_interrupts) { - priv->enable_interrupts(priv); - } - lbtf_deb_main("FW was already ready..."); } + } else { + if (priv->enable_interrupts) { + priv->enable_interrupts(priv); + } + lbtf_deb_main("FW was already ready..."); } /* poke the firmware */ -- 1.7.0 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html