diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-01-30 15:33:19 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-02-04 12:57:43 -0500 |
commit | 50521aa8817e3f6a77eb7aaabdbbb7b5c2fe0ea3 (patch) | |
tree | 76aa3d7dfce97b4a5ae169ee63c8f55d4a152f16 /net/wireless/scan.c | |
parent | 3146a7da83ba2dd266ef436d4ac8e7e09bd15825 (diff) |
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 <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/scan.c')
-rw-r--r-- | net/wireless/scan.c | 5 |
1 files changed, 1 insertions, 4 deletions
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, | |||
715 | * Response frame, we need to pick one of the options and only use it | 715 | * Response frame, we need to pick one of the options and only use it |
716 | * with the driver that does not provide the full Beacon/Probe Response | 716 | * with the driver that does not provide the full Beacon/Probe Response |
717 | * frame. Use Beacon frame pointer to avoid indicating that this should | 717 | * frame. Use Beacon frame pointer to avoid indicating that this should |
718 | * override the iies pointer should we have received an earlier | 718 | * override the IEs pointer should we have received an earlier |
719 | * indication of Probe Response data. | 719 | * indication of Probe Response data. |
720 | * | ||
721 | * The initial buffer for the IEs is allocated with the BSS entry and | ||
722 | * is located after the private area. | ||
723 | */ | 720 | */ |
724 | ies = kmalloc(sizeof(*ies) + ielen, gfp); | 721 | ies = kmalloc(sizeof(*ies) + ielen, gfp); |
725 | if (!ies) | 722 | if (!ies) |