diff options
author | Zhu Yi <yi.zhu@intel.com> | 2008-08-04 04:00:48 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-04 15:09:14 -0400 |
commit | 3e2236c108792c3afbbfbe3f373ee7fdd68eda8e (patch) | |
tree | b5fdb3c2c07885d7838dae0d4f7cf3747aacbdd0 | |
parent | 2d3db679511be102741cb2d5f8c2b8a1ededdee7 (diff) |
iwl3945: fix merge mistake for packet injection
We should allow packets transmission in monitor mode for 3945. The
patch fixes a merge error with 2.6.26 kernel.
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index eb41b02b506d..444847ab1b5a 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -6589,12 +6589,6 @@ static int iwl3945_mac_tx(struct ieee80211_hw *hw, struct sk_buff *skb) | |||
6589 | 6589 | ||
6590 | IWL_DEBUG_MAC80211("enter\n"); | 6590 | IWL_DEBUG_MAC80211("enter\n"); |
6591 | 6591 | ||
6592 | if (priv->iw_mode == IEEE80211_IF_TYPE_MNTR) { | ||
6593 | IWL_DEBUG_MAC80211("leave - monitor\n"); | ||
6594 | dev_kfree_skb_any(skb); | ||
6595 | return 0; | ||
6596 | } | ||
6597 | |||
6598 | IWL_DEBUG_TX("dev->xmit(%d bytes) at rate 0x%02x\n", skb->len, | 6592 | IWL_DEBUG_TX("dev->xmit(%d bytes) at rate 0x%02x\n", skb->len, |
6599 | ieee80211_get_tx_rate(hw, IEEE80211_SKB_CB(skb))->bitrate); | 6593 | ieee80211_get_tx_rate(hw, IEEE80211_SKB_CB(skb))->bitrate); |
6600 | 6594 | ||