mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
Based on patch by Bryan Forbes <bryan@reigndropsfall.net> Also update mt76 to update for API changes Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44655 3c298f89-4303-0410-b956-a3cf2f4a3e73
19 lines
501 B
Diff
19 lines
501 B
Diff
--- a/drivers/net/wireless/ath/ath9k/hw.c
|
|
+++ b/drivers/net/wireless/ath/ath9k/hw.c
|
|
@@ -358,13 +358,8 @@ static void ath9k_hw_init_config(struct
|
|
|
|
ah->config.rx_intr_mitigation = true;
|
|
|
|
- if (AR_SREV_9300_20_OR_LATER(ah)) {
|
|
- ah->config.rimt_last = 500;
|
|
- ah->config.rimt_first = 2000;
|
|
- } else {
|
|
- ah->config.rimt_last = 250;
|
|
- ah->config.rimt_first = 700;
|
|
- }
|
|
+ ah->config.rimt_last = 250;
|
|
+ ah->config.rimt_first = 500;
|
|
|
|
/*
|
|
* We need this for PCI devices only (Cardbus, PCI, miniPCI)
|