diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-12-17 12:35:28 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:07:41 -0500 |
commit | 24dba5f39194c57f98090d1ee504be5740dc521c (patch) | |
tree | 3fc7d23758044ea89687e366a20e412f475c7055 | |
parent | 38bfab1a01c66cb1a5001dc702b0856b2f942fd5 (diff) |
libertas: don't clear priv->dnld_sent after sending sleep confirm
DNLD_RES_RECEIVED is a bit of a misnomer -- we never wait for the result
to be received; it's purely representing the state of the TX path, and
in this case the TX path is definitely busy.
Of course, that means that we don't actually care about DATA_SENT vs.
CMD_SENT either, but that's a can of worms for another day...
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/libertas/cmd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c index 2765b9c20851..10c60bab41f6 100644 --- a/drivers/net/wireless/libertas/cmd.c +++ b/drivers/net/wireless/libertas/cmd.c | |||
@@ -2000,7 +2000,6 @@ static int sendconfirmsleep(struct lbs_private *priv, u8 *cmdptr, u16 size) | |||
2000 | lbs_deb_hex(LBS_DEB_HOST, "sleep confirm command", cmdptr, size); | 2000 | lbs_deb_hex(LBS_DEB_HOST, "sleep confirm command", cmdptr, size); |
2001 | 2001 | ||
2002 | ret = priv->hw_host_to_card(priv, MVMS_CMD, cmdptr, size); | 2002 | ret = priv->hw_host_to_card(priv, MVMS_CMD, cmdptr, size); |
2003 | priv->dnld_sent = DNLD_RES_RECEIVED; | ||
2004 | 2003 | ||
2005 | spin_lock_irqsave(&priv->driver_lock, flags); | 2004 | spin_lock_irqsave(&priv->driver_lock, flags); |
2006 | if (priv->intcounter || priv->currenttxskb) | 2005 | if (priv->intcounter || priv->currenttxskb) |