Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e0d9727c authored by Luca Coelho's avatar Luca Coelho
Browse files

iwlwifi: pcie: fix SPLC structure parsing



The SPLC data parsing is too restrictive and was not trying find the
correct element for WiFi.  This causes problems with some BIOSes where
the SPLC method exists, but doesn't have a WiFi entry on the first
element of the list.  The domain type values are also incorrect
according to the specification.

Fix this by complying with the actual specification.

Additionally, replace all occurrences of SPLX to SPLC, since SPLX is
only a structure internal to the ACPI tables, and may not even exist.

Fixes: bcb079a1 ("iwlwifi: pcie: retrieve and parse ACPI power limitations")
Reported-by: default avatarChris Rorvick <chris@rorvick.com>
Tested-by: default avatarPaul Bolle <pebolle@tiscali.nl>
Tested-by: default avatarChris Rorvick <chris@rorvick.com>
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent 3a732c65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment