aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/libertas/if_cs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/if_cs.c b/drivers/net/wireless/libertas/if_cs.c
index 09c87df5c2fd..364da4cac214 100644
--- a/drivers/net/wireless/libertas/if_cs.c
+++ b/drivers/net/wireless/libertas/if_cs.c
@@ -617,11 +617,12 @@ static int if_cs_host_to_card(wlan_private *priv, u8 type, u8 *buf, u16 nb)
617 617
618 switch (type) { 618 switch (type) {
619 case MVMS_DAT: 619 case MVMS_DAT:
620 priv->dnld_sent = DNLD_CMD_SENT; 620 priv->dnld_sent = DNLD_DATA_SENT;
621 if_cs_send_data(priv, buf, nb); 621 if_cs_send_data(priv, buf, nb);
622 ret = 0; 622 ret = 0;
623 break; 623 break;
624 case MVMS_CMD: 624 case MVMS_CMD:
625 priv->dnld_sent = DNLD_CMD_SENT;
625 ret = if_cs_send_cmd(priv, buf, nb); 626 ret = if_cs_send_cmd(priv, buf, nb);
626 break; 627 break;
627 default: 628 default: