diff options
| author | Michal Kazior <[email protected]> | 2014-09-04 08:18:32 +0000 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2014-09-10 11:17:09 +0000 |
| commit | c4f8c83665cf47b658ec2e4cc83cd873f8c943c7 (patch) | |
| tree | a509450f84236b8a284510301170f9cb15503bf3 /drivers/net/wireless/ath/ath10k/debug.c | |
| parent | ath10k: move fw_crash_dump allocation (diff) | |
| download | kernel-c4f8c83665cf47b658ec2e4cc83cd873f8c943c7.tar.gz kernel-c4f8c83665cf47b658ec2e4cc83cd873f8c943c7.zip | |
ath10k: use proper service bitmap size
On 32bit systems the bitmap was too small and it
was overwritten partially by the stat completion
structure. This was visible with 10.2 firmware
only due to it using a few of the last service
ids.
Signed-off-by: Michal Kazior <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/debug.c')
| -rw-r--r-- | drivers/net/wireless/ath/ath10k/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/debug.c b/drivers/net/wireless/ath/ath10k/debug.c index 966784ad7ce4..97109221ffb3 100644 --- a/drivers/net/wireless/ath/ath10k/debug.c +++ b/drivers/net/wireless/ath/ath10k/debug.c @@ -208,7 +208,7 @@ static ssize_t ath10k_read_wmi_services(struct file *file, if (len > buf_len) len = buf_len; - for (i = 0; i < WMI_MAX_SERVICE; i++) { + for (i = 0; i < WMI_SERVICE_MAX; i++) { enabled = test_bit(i, ar->debug.wmi_service_bitmap); name = wmi_service_name(i); |
