Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f05cbe5 authored by Ryan Mallon's avatar Ryan Mallon Committed by David S. Miller
Browse files

[LIBERTAS]: set dnld_sent correctly for CF parts



Corrects a minor bug with priv->dnld_sent being set incorrectly in
if_cs_host_to_card.

Signed-off-by: default avatarRyan Mallon <ryan@bluewatersys.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1065de15
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -617,11 +617,12 @@ static int if_cs_host_to_card(wlan_private *priv, u8 type, u8 *buf, u16 nb)

	switch (type) {
	case MVMS_DAT:
		priv->dnld_sent = DNLD_CMD_SENT;
		priv->dnld_sent = DNLD_DATA_SENT;
		if_cs_send_data(priv, buf, nb);
		ret = 0;
		break;
	case MVMS_CMD:
		priv->dnld_sent = DNLD_CMD_SENT;
		ret = if_cs_send_cmd(priv, buf, nb);
		break;
	default: