aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pasemi_mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pasemi_mac.c')
-rw-r--r--drivers/net/pasemi_mac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/pasemi_mac.c b/drivers/net/pasemi_mac.c
index 916a76e28a87..48c117038fef 100644
--- a/drivers/net/pasemi_mac.c
+++ b/drivers/net/pasemi_mac.c
@@ -1078,6 +1078,7 @@ static int pasemi_mac_poll(struct napi_struct *napi, int budget)
1078 struct net_device *dev = mac->netdev; 1078 struct net_device *dev = mac->netdev;
1079 int pkts; 1079 int pkts;
1080 1080
1081 pasemi_mac_clean_tx(mac);
1081 pkts = pasemi_mac_clean_rx(mac, budget); 1082 pkts = pasemi_mac_clean_rx(mac, budget);
1082 if (pkts < budget) { 1083 if (pkts < budget) {
1083 /* all done, no more packets present */ 1084 /* all done, no more packets present */