diff options
author | David S. Miller <davem@davemloft.net> | 2015-04-01 14:27:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-01 14:27:28 -0400 |
commit | 45eb5168873c93b4f1c3c3867fea65aad4c6abd6 (patch) | |
tree | 4949e1083f214ce51565d41614df912cba017219 /drivers/net/wireless/ath/wil6210/netdev.c | |
parent | b9600d2d0901cd0f91cb372e72bd53d22f49638d (diff) | |
parent | 9374e7d2fdcad3c36dafc8d3effd554bc702c4b6 (diff) |
Merge tag 'wireless-drivers-next-for-davem-2015-04-01' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next
Kalle Valo says:
====================
Major changes:
ath9k:
* add Active Interference Cancellation, a method implemented in the HW
to counter WLAN RX > sensitivity degradation when BT is transmitting
at the same time. This feature is supported by cards like WB222
based on AR9462.
iwlwifi:
* Location Aware Regulatory was added by Arik
* 8000 device family work
* update to the BT Coex firmware API
brmcfmac:
* add new BCM43455 and BCM43457 SDIO device support
* add new BCM43430 SDIO device support
wil6210:
* take care of AP bridging
* fix NAPI behavior
* found approach to achieve 4*n+2 alignment of Rx frames
rt2x00:
* add new rt2800usb device DWA 130
rtlwifi:
* add USB ID for D-Link DWA-131
* add USB ID ASUS N10 WiFi dongle
mwifiex:
* throughput enhancements
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/netdev.c')
-rw-r--r-- | drivers/net/wireless/ath/wil6210/netdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/wil6210/netdev.c b/drivers/net/wireless/ath/wil6210/netdev.c index ace30c1b5c64..f2f7ea29558e 100644 --- a/drivers/net/wireless/ath/wil6210/netdev.c +++ b/drivers/net/wireless/ath/wil6210/netdev.c | |||
@@ -82,7 +82,7 @@ static int wil6210_netdev_poll_rx(struct napi_struct *napi, int budget) | |||
82 | wil_rx_handle(wil, "a); | 82 | wil_rx_handle(wil, "a); |
83 | done = budget - quota; | 83 | done = budget - quota; |
84 | 84 | ||
85 | if (done <= 1) { /* burst ends - only one packet processed */ | 85 | if (done < budget) { |
86 | napi_complete(napi); | 86 | napi_complete(napi); |
87 | wil6210_unmask_irq_rx(wil); | 87 | wil6210_unmask_irq_rx(wil); |
88 | wil_dbg_txrx(wil, "NAPI RX complete\n"); | 88 | wil_dbg_txrx(wil, "NAPI RX complete\n"); |
@@ -110,7 +110,7 @@ static int wil6210_netdev_poll_tx(struct napi_struct *napi, int budget) | |||
110 | tx_done += wil_tx_complete(wil, i); | 110 | tx_done += wil_tx_complete(wil, i); |
111 | } | 111 | } |
112 | 112 | ||
113 | if (tx_done <= 1) { /* burst ends - only one packet processed */ | 113 | if (tx_done < budget) { |
114 | napi_complete(napi); | 114 | napi_complete(napi); |
115 | wil6210_unmask_irq_tx(wil); | 115 | wil6210_unmask_irq_tx(wil); |
116 | wil_dbg_txrx(wil, "NAPI TX complete\n"); | 116 | wil_dbg_txrx(wil, "NAPI TX complete\n"); |