diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2018-04-23 16:01:31 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-04-24 13:13:08 +0300 |
commit | a083429e133df63bf2e618f51e4061649fb3c65e (patch) | |
tree | 047345dc53a1f101da3cadb438c8dbab214418e3 /drivers/iommu/iommu-sysfs.c | |
parent | 77e30e10ee28a53c8af95809866ee8493583e29a (diff) | |
download | linux-a083429e133df63bf2e618f51e4061649fb3c65e.tar.xz |
iwlwifi: mvm: fix old scan version sizes
When version 8 of the scan command API was introduced, only the size
of version 7 was updated, causing older versions of the firmware to
throw BAD_COMMAND errors.
Calculating the old version based on the size of the latest version
got too complicated and the size of the older versions will never
change anyway, so it's better to just hardcoded the sizes.
Fixes: 66fa2424df16 ("iwlwifi: fw api: support the new scan request FW API version")
Reported-by: Scott Register <sreg@sreg.io>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/iommu/iommu-sysfs.c')
0 files changed, 0 insertions, 0 deletions