Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50521aa8 authored by Johannes Berg's avatar Johannes Berg
Browse files

cfg80211: fix BSS IE allocation comment



The comment about allocating the IEs together with
the BSS struct is no longer true, remove it. Also
fix a typo in the same area.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 3146a7da
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -715,11 +715,8 @@ cfg80211_inform_bss(struct wiphy *wiphy,
	 * Response frame, we need to pick one of the options and only use it
	 * with the driver that does not provide the full Beacon/Probe Response
	 * frame. Use Beacon frame pointer to avoid indicating that this should
	 * override the iies pointer should we have received an earlier
	 * override the IEs pointer should we have received an earlier
	 * indication of Probe Response data.
	 *
	 * The initial buffer for the IEs is allocated with the BSS entry and
	 * is located after the private area.
	 */
	ies = kmalloc(sizeof(*ies) + ielen, gfp);
	if (!ies)