diff options
author | Zhu Yi <yi.zhu@intel.com> | 2005-08-25 05:43:14 -0400 |
---|---|---|
committer | James Ketrenos <jketreno@linux.intel.com> | 2005-11-07 18:51:14 -0500 |
commit | 55135791819270a412dfb99f66301f02c72edadf (patch) | |
tree | b854cf6f17428f9610cf9868e0a51b66b6465b1a /drivers/net/wireless | |
parent | 7b99659f97ca20e5f1ea56253a9449d278d825d5 (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/net/wireless')
-rw-r--r-- | drivers/net/wireless/ipw2200.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 4cdb4748b761..bda292f7f82c 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, | |||
7907 | IPW_DEBUG_RX("Rx packet of %d bytes.\n", rxb->skb->len); | 7907 | IPW_DEBUG_RX("Rx packet of %d bytes.\n", rxb->skb->len); |
7908 | 7908 | ||
7909 | /* HW decrypt will not clear the WEP bit, MIC, PN, etc. */ | 7909 | /* HW decrypt will not clear the WEP bit, MIC, PN, etc. */ |
7910 | if (!priv->ieee->host_decrypt) | 7910 | if (!priv->ieee->host_decrypt && priv->ieee->iw_mode != IW_MODE_MONITOR) |
7911 | ipw_rebuild_decrypted_skb(priv, rxb->skb); | 7911 | ipw_rebuild_decrypted_skb(priv, rxb->skb); |
7912 | 7912 | ||
7913 | if (!ieee80211_rx(priv->ieee, rxb->skb, stats)) | 7913 | if (!ieee80211_rx(priv->ieee, rxb->skb, stats)) |