diff options
author | Huang, Xiong <xiong@qca.qualcomm.com> | 2013-02-19 07:23:09 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-20 20:10:57 (GMT) |
commit | b692202210dc702367c7c3502f06ff5a9a00ac4d (patch) | |
tree | 987c82c3c525af8389c9ee7b0aee09080ed36a93 /drivers/net/ethernet/atheros | |
parent | 1c591d4dc83d1a9266434b9253641de864b1d279 (diff) | |
download | linux-fsl-qoriq-b692202210dc702367c7c3502f06ff5a9a00ac4d.tar.xz |
atl1c: restore buffer state
[ Upstream commit 7cb08d7f3a5ea6131f4f243c2080530ac41cb293 ]
in the previous commit : f1f220ea1dda078, the BUSY state of buffer is wrongly
deleted. this patch just restore it.
Signed-off-by: xiong <xiong@qca.qualcomm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/atheros')
-rw-r--r-- | drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c index 0035c01..bfcb8bc 100644 --- a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c +++ b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c @@ -2075,7 +2075,7 @@ static int atl1c_tx_map(struct atl1c_adapter *adapter, if (unlikely(pci_dma_mapping_error(adapter->pdev, buffer_info->dma))) goto err_dma; - + ATL1C_SET_BUFFER_STATE(buffer_info, ATL1C_BUFFER_BUSY); ATL1C_SET_PCIMAP_TYPE(buffer_info, ATL1C_PCIMAP_SINGLE, ATL1C_PCIMAP_TODEVICE); mapped_len += map_len; |