]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
bcmdhd: wait for cfg cleanup before unregistering origin/rel-st8-r2.2 daily-2014.07.30.0_rel-st8-r2.2-partner
authorbibhayr <bibhayr@nvidia.com>
Fri, 18 Jul 2014 22:23:42 +0000 (15:23 -0700)
committerTodd Poynter <tpoynter@nvidia.com>
Mon, 21 Jul 2014 01:09:19 +0000 (18:09 -0700)
commit72da12aa34fe6cedb16c415c13e64ed648e11a44
tree7d926f3def6f506c8fdf8df5df202ffcff424523
parent624a9362908d2d2e9afb108f038e73e61999200d
bcmdhd: wait for cfg cleanup before unregistering

If the p2p device is unregistered before the cfg
cleanup work item is scheduled then, the wdev
struct is corrupted and can cause the kernel panic.
wait for the work item to finish before freeing

Bug 1533639

Change-Id: Ib8729a985d2ed14ec062f98a9a8bcebacf90f8fc
Signed-off-by: bibhayr <bibhayr@nvidia.com>
Reviewed-on: http://git-master/r/440127
GVS: Gerrit_Virtual_Submit
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>
Tested-by: Todd Poynter <tpoynter@nvidia.com>
drivers/net/wireless/bcmdhd/wl_cfgp2p.c