]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mac80211: constify ieee80211_ie_build_{he,eht}_oper() chandef
authorJeff Johnson <quic_jjohnson@quicinc.com>
Tue, 10 Sep 2024 20:40:03 +0000 (13:40 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 8 Oct 2024 19:52:03 +0000 (21:52 +0200)
commit2b73e9ab8535caca192844a161d9f491ee9f8aab
tree42dbedd5eeaeda303254f5fe895579bc98cb3b51
parent5a4d42c1688c88f3be6aef46b0ea6c32694cd2b8
wifi: mac80211: constify ieee80211_ie_build_{he,eht}_oper() chandef

The chandef parameter passed to ieee80211_ie_build_he_oper() and
ieee80211_ie_build_eht_oper is read-only. Since it is never modified,
add the const qualifier to this parameter. This makes these consistent
with ieee80211_ie_build_ht_oper() and ieee80211_ie_build_vht_oper().

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Link: https://patch.msgid.link/20240910-wireless-utils-constify-v1-1-e59947bcb3c3@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/util.c