diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/htt.c')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/htt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath10k/htt.c b/drivers/net/wireless/ath/ath10k/htt.c index 56cb4aceb383..4f59ab923e48 100644 --- a/drivers/net/wireless/ath/ath10k/htt.c +++ b/drivers/net/wireless/ath/ath10k/htt.c | |||
@@ -53,7 +53,6 @@ int ath10k_htt_init(struct ath10k *ar) | |||
53 | struct ath10k_htt *htt = &ar->htt; | 53 | struct ath10k_htt *htt = &ar->htt; |
54 | 54 | ||
55 | htt->ar = ar; | 55 | htt->ar = ar; |
56 | htt->max_throughput_mbps = 800; | ||
57 | 56 | ||
58 | /* | 57 | /* |
59 | * Prefetch enough data to satisfy target | 58 | * Prefetch enough data to satisfy target |
@@ -102,7 +101,7 @@ int ath10k_htt_setup(struct ath10k_htt *htt) | |||
102 | 101 | ||
103 | status = wait_for_completion_timeout(&htt->target_version_received, | 102 | status = wait_for_completion_timeout(&htt->target_version_received, |
104 | HTT_TARGET_VERSION_TIMEOUT_HZ); | 103 | HTT_TARGET_VERSION_TIMEOUT_HZ); |
105 | if (status <= 0) { | 104 | if (status == 0) { |
106 | ath10k_warn(ar, "htt version request timed out\n"); | 105 | ath10k_warn(ar, "htt version request timed out\n"); |
107 | return -ETIMEDOUT; | 106 | return -ETIMEDOUT; |
108 | } | 107 | } |