aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwl8k.c
diff options
context:
space:
mode:
authorBrian Cavagnolo <brian@cozybit.com>2010-11-12 20:23:47 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-11-16 16:37:02 -0500
commita1fe24b0fd8bf16b4e551ae3fb785bfc574b9ffb (patch)
tree27f7af516260bd68377e4302fbe249d818333699 /drivers/net/wireless/mwl8k.c
parentae63a33ec9b598b3454cf0d29077fa17b616c42a (diff)
mwl8k: revert unnecessary modification of tx descriptor
This reverts change 783391c443728febc669e40597193308460e7b4f. The stabilized AP v1 firmware uses the same tx descriptor as the STA firmware. Signed-off-by: Brian Cavagnolo <brian@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwl8k.c')
-rw-r--r--drivers/net/wireless/mwl8k.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c
index 1bbcd7c1d02a..f152a25be59f 100644
--- a/drivers/net/wireless/mwl8k.c
+++ b/drivers/net/wireless/mwl8k.c
@@ -1125,12 +1125,10 @@ struct mwl8k_tx_desc {
1125 __le32 reserved; 1125 __le32 reserved;
1126 __le16 rate_info; 1126 __le16 rate_info;
1127 __u8 peer_id; 1127 __u8 peer_id;
1128 __u8 xmitcontrol; 1128 __u8 tx_frag_cnt;
1129} __packed; 1129} __packed;
1130 1130
1131#define MWL8K_TX_DESCS 128 1131#define MWL8K_TX_DESCS 128
1132#define MWL8K_XMITCONTROL_NON_AMPDU 0x04
1133
1134 1132
1135static int mwl8k_txq_init(struct ieee80211_hw *hw, int index) 1133static int mwl8k_txq_init(struct ieee80211_hw *hw, int index)
1136{ 1134{
@@ -1450,9 +1448,6 @@ mwl8k_txq_xmit(struct ieee80211_hw *hw, int index, struct sk_buff *skb)
1450 tx->peer_id = MWL8K_STA(tx_info->control.sta)->peer_id; 1448 tx->peer_id = MWL8K_STA(tx_info->control.sta)->peer_id;
1451 else 1449 else
1452 tx->peer_id = 0; 1450 tx->peer_id = 0;
1453
1454 if (priv->ap_fw)
1455 tx->xmitcontrol = MWL8K_XMITCONTROL_NON_AMPDU;
1456 wmb(); 1451 wmb();
1457 tx->status = cpu_to_le32(MWL8K_TXD_STATUS_FW_OWNED | txstatus); 1452 tx->status = cpu_to_le32(MWL8K_TXD_STATUS_FW_OWNED | txstatus);
1458 1453