On Mon, 2023-09-25 at 17:28 +0530, Aditya Kumar Singh wrote:
>
> -void ieee80211_csa_finish(struct ieee80211_vif *vif)
> +void ieee80211_csa_finish(struct ieee80211_vif *vif, unsigned int link_id)
> {
> struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif);
> struct ieee80211_local *local = sdata->local;
> + struct ieee80211_link_data *link_data;
> +
> + if (WARN_ON(link_id > IEEE80211_MLD_MAX_NUM_LINKS))
> + return;
>=.
You also have that in the other patch.
johannes
On 9/25/23 18:42, Johannes Berg wrote:
> On Mon, 2023-09-25 at 17:28 +0530, Aditya Kumar Singh wrote:
>>
>> -void ieee80211_csa_finish(struct ieee80211_vif *vif)
>> +void ieee80211_csa_finish(struct ieee80211_vif *vif, unsigned int link_id)
>> {
>> struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif);
>> struct ieee80211_local *local = sdata->local;
>> + struct ieee80211_link_data *link_data;
>> +
>> + if (WARN_ON(link_id > IEEE80211_MLD_MAX_NUM_LINKS))
>> + return;
>
>> =.
>
> You also have that in the other patch.Sure, got it. Thanks.