From: Johannes Berg Date: Wed, 30 Jan 2013 20:33:19 +0000 (+0100) Subject: cfg80211: fix BSS IE allocation comment X-Git-Tag: Ubuntu-5.2.0-15.16~16280^2~31^2^2~80^2~7 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=50521aa8817e3f6a77eb7aaabdbbb7b5c2fe0ea3;p=mirror_ubuntu-eoan-kernel.git 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: Johannes Berg --- diff --git a/net/wireless/scan.c b/net/wireless/scan.c index 3772638714fa..34b47b30be88 100644 --- a/net/wireless/scan.c +++ b/net/wireless/scan.c @@ -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)