diff options
author | Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> | 2014-12-30 22:10:20 (GMT) |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-01-15 12:47:34 (GMT) |
commit | b5939e8c71292bbedf1d36adf7784ce2d71ae3d7 (patch) | |
tree | 749a0e60d441c5148e71c9dea67678d081bf1261 /drivers/net/wireless/ath/ath9k/debug.c | |
parent | 9ddad58bee51663001ff118d65cc9166bafcd122 (diff) | |
download | linux-b5939e8c71292bbedf1d36adf7784ce2d71ae3d7.tar.xz |
ath9k: enable per-packet TPC on AR9002 based chips
Enable per-packet TPC on AR9002 based chips by default
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/debug.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/debug.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/ath9k/debug.c b/drivers/net/wireless/ath/ath9k/debug.c index 1bed9d7..dd5d391 100644 --- a/drivers/net/wireless/ath/ath9k/debug.c +++ b/drivers/net/wireless/ath/ath9k/debug.c @@ -1078,11 +1078,6 @@ static ssize_t write_file_tpc(struct file *file, const char __user *user_buf, ssize_t len; bool tpc_enabled; - if (!AR_SREV_9300_20_OR_LATER(ah)) { - /* ar9002 does not support TPC for the moment */ - return -EOPNOTSUPP; - } - len = min(count, sizeof(buf) - 1); if (copy_from_user(buf, user_buf, len)) return -EFAULT; |