aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2005-08-25 17:43:14 +0800
committerJames Ketrenos <jketreno@linux.intel.com>2005-11-07 17:51:14 -0600
commit55135791819270a412dfb99f66301f02c72edadf (patch)
treeb854cf6f17428f9610cf9868e0a51b66b6465b1a /drivers
parent7b99659f97ca20e5f1ea56253a9449d278d825d5 (diff)
[Bug 760] Fix setting WEP key in monitor mode causes IV lost.
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ipw2200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c
index 4cdb4748b76..bda292f7f82 100644
--- a/drivers/net/wireless/ipw2200.c
+++ b/drivers/net/wireless/ipw2200.c
@@ -7907,7 +7907,7 @@ static void ipw_handle_data_packet(struct ipw_priv *priv,
IPW_DEBUG_RX("Rx packet of %d bytes.\n", rxb->skb->len);
/* HW decrypt will not clear the WEP bit, MIC, PN, etc. */
- if (!priv->ieee->host_decrypt)
+ if (!priv->ieee->host_decrypt && priv->ieee->iw_mode != IW_MODE_MONITOR)
ipw_rebuild_decrypted_skb(priv, rxb->skb);
if (!ieee80211_rx(priv->ieee, rxb->skb, stats))