• Johannes Berg's avatar
    cfg80211: fix potential BSS memory leak and update · 1345ee6a
    Johannes Berg authored
    In the odd case that while updating information from a beacon,
    a BSS was found that is part of a hidden group, we drop the
    new information. In this case, however, we leak the IE buffer
    from the update, and erroneously update the entry's timestamp
    so it will never time out. Fix both these issues.
    Cc: Larry Finger <Larry.Finger@lwfinger.net>
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
scan.c 37.9 KB