Search Linux Wireless

Re: [PATCH] wifi: iwlwifi: fix cmd length when sending WOWLAN_TSC_RSC_PARAM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 21/07/2025 22:21, Korenblit, Miriam Rachel wrote:

-----Original Message-----
From: Antonio Quartulli <antonio@xxxxxxxxxxxxx>
Sent: Wednesday, 16 July 2025 23:19
To: linux-wireless@xxxxxxxxxxxxxxx
Cc: Antonio Quartulli <antonio@xxxxxxxxxxxxx>; Korenblit, Miriam Rachel
<miriam.rachel.korenblit@xxxxxxxxx>; Berg, Johannes
<johannes.berg@xxxxxxxxx>; Grumbach, Emmanuel
<emmanuel.grumbach@xxxxxxxxx>; Coelho, Luciano <luciano.coelho@xxxxxxxxx>
Subject: [PATCH] wifi: iwlwifi: fix cmd length when sending
WOWLAN_TSC_RSC_PARAM

In iwl_mvm_wowlan_config_rsc_tsc() when calling iwl_mvm_send_cmd_pdu()
we are accidentally passing the size of a pointer rather than the size of the object
pointed by it.

Fix the expression in order to pass the approriate object length.

Fixes: 631ee5120285 ("iwlwifi: mvm: d3: refactor TSC/RSC configuration")

Is it the right one? I think it should be:
493681d9f95b ("wifi: iwlwifi: remove support of version 4 of iwl_wowlan_rsc_tsc_params_cmd")

Hi Miriam,

you're right - I got it wrong.

493681d9f95b is the real offending commit.

Can you fix it on the fly when applying the patch?

Thanks.
Regards,

--
Antonio Quartulli

CEO and Co-Founder
Mandelbit Srl
https://www.mandelbit.com





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux