mac80211: fix ieee80211_he_oper_size() comment
PATCH 1/1 mac80211: fix ieee80211_he_oper_size() comment
Johannes mentioned that the comment should not reference mac80211 as other subsystems might call the helper.
Signed-off-by John Crispin <[email protected]>
--- include/linux/ieee80211.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/ieee80211.h +2 -2
@@ -2062,8 +2062,8 @@ ieee80211_he_ppe_size(u8 ppe_thres_hdr, const u8 *phy_cap_info)* ieee80211_he_oper_size - calculate 802.11ax HE Operations IE size * @he_oper_ie: byte data of the He Operations IE, stating from the the byte * after the ext ID byte. It is assumed that he_oper_ie has at least -* sizeof(struct ieee80211_he_operation) bytes, checked already in -* ieee802_11_parse_elems_crc() +* sizeof(struct ieee80211_he_operation) bytes, the caller must have +* validated this. * @return the actual size of the IE data (not including header), or 0 on error */ static inline u8
Signature · 7 lines
2.20.1 _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Quoted 5 lines · John Crispin
Johannes mentioned that the comment should not reference mac80211 as other subsystems might call the helper.
Signed-off-by John Crispin <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath11k-bringup branch of ath.git, thanks.
a2a012fb1b64 NOTUPSTREAM: mac80211: fix ieee80211_he_oper_size() comment
Signature · 9 lines
https://patchwork.kernel.org/patch/10999233/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k