diff options
| author | 2026-09-26 20:17:24 +0300 | |
|---|---|---|
| committer | 2026-10-14 11:56:37 +0300 | |
| commit | c27b72f04d00697ea8452cc7585ef1a6f7353db6 (patch) | |
| tree | cfc5906ac23f46d8d02352b6e4ab0aafc32328ba /scripts/Makefile.thinlto | |
| parent | wifi: iwlwifi: send standalone SAR to firmware (diff) | |
wifi: iwlwifi: uefi: Fix SAR enable check to use mode parameter correctly
The iwl_uefi_set_sar_profile() function was receiving a bool parameter,
which would treat any non-zero value as enabled. This is incorrect because
the SAR mode value contains additional bits beyond the enable flag.
Change the parameter from bool enabled to u32 mode and properly extract
the enable bit using IWL_SAR_ENABLE_MSK bitmask. This ensures that only
the designated enable bit determines whether SAR is enabled, not arbitrary
non-zero values.
Signed-off-by: Pagadala Yesu Anjaneyulu <pagadala.yesu.anjaneyulu@intel.com>
Link: https://patch.msgid.link/20260926201527.60160602581b.Ib184c201e677cb6d95f64e725a1e39148234fa41@changeid
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
