Commit a8d02e41 authored by Johannes Berg's avatar Johannes Berg Committed by Carlos Llamas
Browse files

UPSTREAM: wifi: mac80211: align ieee80211_mle_get_bss_param_ch_cnt()



Align the prototype of ieee80211_mle_get_bss_param_ch_cnt()
to also take a u8 * like the other functions, and make it
return -1 when the field isn't found, so that mac80211 can
check that instead of explicitly open-coding the check.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarMiri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240216135047.583309181bc3.Ia61cb0b4fc034d5ac8fcfaf6f6fb2e115fadafe7@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>

Bug: 338806915
Change-Id: I9b7e23985b2214c9b2279e06584272e27c7e8eac
(cherry picked from commit 6bd14aee)
Signed-off-by: default avatarVeerendranath Jakkam <quic_vjakkam@quicinc.com>
parent cdac3947
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment