]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: acpi: fix PPAG table sizes
authorLuca Coelho <luciano.coelho@intel.com>
Wed, 10 Feb 2021 11:56:28 +0000 (13:56 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 10 Feb 2021 12:37:26 +0000 (14:37 +0200)
commit7bf8121e1dd21ff816761e44b33a4c0a621dc90b
treefc8d92d55a567065bd3d910d823fc2999a2caaf5
parent6151b679a05a5e8e7d0492019d9340e09d7e706d
iwlwifi: acpi: fix PPAG table sizes

We were erroneously adding 3 extra values to the table size
calculation, when we should actually add only a 2 (one for the domain
type and one for the enabled/disabled flag).  Fix this for both
revisions we support.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210210135352.9d037b8f5098.I3c88af130d9e270517c8bac8eb02e11f817fe959@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/acpi.h