wil6210: remove old Tx work-around
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Sun, 1 Feb 2015 08:55:11 +0000 (10:55 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Feb 2015 13:36:32 +0000 (15:36 +0200)
In the Tx, work around used to force destination index 0
to be used. This is no more necessary, as firmware supports
multiple destinations

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/txrx.c

index 0499ebcdeff514ea24724b7dba7664f3e726726e..24c4b9a6a0046206de08a6ae7de98e237d5f569b 100644 (file)
@@ -873,9 +873,6 @@ static int wil_tx_desc_map(struct vring_tx_desc *d, dma_addr_t pa, u32 len,
        d->mac.d[1] = 0;
        d->mac.d[2] = 0;
        d->mac.ucode_cmd = 0;
-       /* use dst index 0 */
-       d->mac.d[1] |= BIT(MAC_CFG_DESC_TX_1_DST_INDEX_EN_POS) |
-                      (0 << MAC_CFG_DESC_TX_1_DST_INDEX_POS);
        /* translation type:  0 - bypass; 1 - 802.3; 2 - native wifi */
        d->mac.d[2] = BIT(MAC_CFG_DESC_TX_2_SNAP_HDR_INSERTION_EN_POS) |
                      (1 << MAC_CFG_DESC_TX_2_L2_TRANSLATION_TYPE_POS);