Message ID | 20250107174802.1793252-1-quic_ramess@quicinc.com |
---|---|
Headers | show |
Series | wifi: cfg80211: update EML capabilities of an ML Station | expand |
On Tue, 2025-01-07 at 23:18 +0530, Rameshkumar Sundaram wrote: > > + if (params->eml_cap) > + sta->sta.eml_cap = params->eml_cap; > It would seem to me that 0 is a valid value, so you may need a separate "was the attribute included and we're changing the value" flag? johannes
On 1/8/2025 2:04 PM, Johannes Berg wrote: > On Tue, 2025-01-07 at 23:18 +0530, Rameshkumar Sundaram wrote: >> + if (params->eml_cap) >> + sta->sta.eml_cap = params->eml_cap; >> > It would seem to me that 0 is a valid value, so you may need a separate > "was the attribute included and we're changing the value" flag? Yes you're right, shall i add a new entry in station_parameters_apply_mask {} and use it for this ?