mac80211: fix ieee80211_he_oper_size() comment
[carl9170fw.git] / include / linux / ieee80211.h
index 8b84b71fdf242c91f3024ebe0825c7623d44f4e8..b5b7feaa24c03d5d2e75d3d533ef714c90ad06ae 100644 (file)
@@ -2072,8 +2072,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