projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1065de1
)
[LIBERTAS]: set dnld_sent correctly for CF parts
author
Ryan Mallon
<
[email protected]
>
Fri, 7 Sep 2007 01:30:32 +0000
(21:30 -0400)
committer
David S. Miller
<
[email protected]
>
Wed, 10 Oct 2007 23:52:26 +0000
(16:52 -0700)
Corrects a minor bug with priv->dnld_sent being set incorrectly in
if_cs_host_to_card.
Signed-off-by: Ryan Mallon <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/wireless/libertas/if_cs.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/libertas/if_cs.c
b/drivers/net/wireless/libertas/if_cs.c
index 09c87df5c2fd9a1873f9aa0054237de67f106a31..364da4cac2147d2423b10fc1c8772db9a217364b 100644
(file)
--- 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)
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: