Skip to content

Commit

Permalink
cfg80211: fix BSS IE allocation comment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Berg committed Feb 4, 2013
1 parent 3146a7d commit 50521aa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions net/wireless/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 50521aa

Please sign in to comment.