Commit 296f3e92 authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: iwlwifi: acpi: fix WPFC reading



The code reading the WPFC table needs to take into account
the domain type (first element in the package), shouldn't
leak the memory if it fails, and has a bad comment. Fix all
these issues.

Fixes: c4c95454 ("wifi: iwlwifi: implement WPFC ACPI table loading")
Reported-by: default avatarMiri Korenblit <miriam.rachel.korenblit@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Reviewed-by: default avatarGregory Greenman Gregory <gregory.greenman@intel.com>
Link: https://msgid.link/20240128084842.2afeb476b62d.I200568dc42a277e21c12be99d5aaa39b009d45da@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent ec06e9b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment