net: wireless: bcmdhd: Fix CFG80211 memory corruption
authorLin Ma <linm@broadcom.com>
Fri, 5 Aug 2011 19:53:04 +0000 (12:53 -0700)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:22:34 +0000 (12:22 -0800)
commit927bd803ec8cc1a76dc0b18ab6a9e22cd1995ee6
treed43dee38a644829a3b0e2942469e7926ec66b9ed
parent24f8df25e5f900e1b62b7f67f25cb2b3d884a2b5
net: wireless: bcmdhd: Fix CFG80211 memory corruption

 * Sends event/data packets to kernel while net_device interface
   has not been created or registered yet
 * Timer gets freed twice
 * The primary net_device interface never gets freed
 * Memory corruption in scan buffer
 * Memory corruption in cfg80211 wiphy structure fix for kthred_stop crash

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/net/wireless/bcmdhd/dhd_linux.c
drivers/net/wireless/bcmdhd/wl_android.c
drivers/net/wireless/bcmdhd/wl_cfg80211.c
drivers/net/wireless/bcmdhd/wl_cfg80211.h