]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
net: wireless: bcmdhd: reorder sdlock to avoid lockup
authorAllen Yu <alleny@nvidia.com>
Tue, 8 Jul 2014 17:21:21 +0000 (01:21 +0800)
committerTodd Poynter <tpoynter@nvidia.com>
Wed, 9 Jul 2014 18:12:40 +0000 (11:12 -0700)
commitfb674ebba9ec56057b2b1a38448c7065f2f7612e
tree5ca1401f1b5ef50d3a2988e3a42b6ac8f4918618
parentdcd620cee4bf4990ff4295e2a35a6d68c74183b2
net: wireless: bcmdhd: reorder sdlock to avoid lockup

dhd_os_sdlock() is called in dhd_watchdog(), which is the timer function
of dhd->timer. So we need to release the lock before deleting the timer
to avoid cpu lockup.

bug 1526837

Change-Id: Icbeb393afe81ff476d0e133f60bc7b0477d37364
Signed-off-by: Allen Yu <alleny@nvidia.com>
Reviewed-on: http://git-master/r/435684
Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
drivers/net/wireless/bcmdhd/dhd_linux.c