diff mbox series

mac80211: fix ieee80211_he_oper_size() comment

Message ID 20190617130425.14014-1-john@phrozen.org (mailing list archive)
State Accepted
Commit a2a012fb1b644984c57d40589254a702100cd621
Delegated to: Kalle Valo
Headers show
Series mac80211: fix ieee80211_he_oper_size() comment | expand

Commit Message

John Crispin June 17, 2019, 1:04 p.m. UTC
Johannes mentioned that the comment should not reference mac80211 as other
subsystems might call the helper.

Signed-off-by: John Crispin <john@phrozen.org>
---
 include/linux/ieee80211.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Kalle Valo June 18, 2019, 12:24 p.m. UTC | #1
John Crispin <john@phrozen.org> wrote:

> Johannes mentioned that the comment should not reference mac80211 as other
> subsystems might call the helper.
> 
> Signed-off-by: John Crispin <john@phrozen.org>
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>

Patch applied to ath11k-bringup branch of ath.git, thanks.

a2a012fb1b64 NOTUPSTREAM: mac80211: fix ieee80211_he_oper_size() comment
diff mbox series

Patch

diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index e7d23a2cacd8..9b62c3744ed5 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -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