projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd06157
)
atl1c: restore buffer state
author
Huang, Xiong
<
[email protected]
>
Tue, 19 Feb 2013 07:23:09 +0000
(07:23 +0000)
committer
David S. Miller
<
[email protected]
>
Tue, 19 Feb 2013 18:18:13 +0000
(13:18 -0500)
in the previous commit :
f1f220ea1dda078
, the BUSY state of buffer is wrongly
deleted. this patch just restore it.
Signed-off-by: xiong <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/atheros/atl1c/atl1c_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
index 8f33315174333aa6388924baf1918b0793b82969..1f07fc633ab9482bdf5df0bfe3305d919b6407c4 100644
(file)
--- a/
drivers/net/ethernet/atheros/atl1c/atl1c_main.c
+++ b/
drivers/net/ethernet/atheros/atl1c/atl1c_main.c
@@
-2072,7
+2072,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;