Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6f05cbe5882e8b0fc5a984313cbb14ce7741411b
Commit:     6f05cbe5882e8b0fc5a984313cbb14ce7741411b
Parent:     1065de1562b1552a24f83e379bcb5fed351a8bc4
Author:     Ryan Mallon <[EMAIL PROTECTED]>
AuthorDate: Thu Sep 6 21:30:32 2007 -0400
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 16:52:26 2007 -0700

    [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 <[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 |    3 ++-
 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 09c87df..364da4c 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)
 
        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:
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to