[PATCH AUTOSEL 6.17-6.1] wifi: mac80211: Fix HE capabilities element check