mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-05 06:35:17 +07:00
[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: Ryan Mallon <ryan@bluewatersys.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1065de1562
commit
6f05cbe588
@ -617,11 +617,12 @@ static int if_cs_host_to_card(wlan_private *priv, u8 type, u8 *buf, u16 nb)
|
|||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case MVMS_DAT:
|
case MVMS_DAT:
|
||||||
priv->dnld_sent = DNLD_CMD_SENT;
|
priv->dnld_sent = DNLD_DATA_SENT;
|
||||||
if_cs_send_data(priv, buf, nb);
|
if_cs_send_data(priv, buf, nb);
|
||||||
ret = 0;
|
ret = 0;
|
||||||
break;
|
break;
|
||||||
case MVMS_CMD:
|
case MVMS_CMD:
|
||||||
|
priv->dnld_sent = DNLD_CMD_SENT;
|
||||||
ret = if_cs_send_cmd(priv, buf, nb);
|
ret = if_cs_send_cmd(priv, buf, nb);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user