staging: brcm80211: fix rtnl_lock issue when bringing down brcmfmac
authorArend van Spriel <arend@broadcom.com>
Tue, 23 Aug 2011 12:13:57 +0000 (14:13 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 20:10:14 +0000 (13:10 -0700)
commit183eeb985a2cdbf37c7850c5e8e99cc1cc26901f
tree6d41f1c842c6bdd72e97fb6ad21e1aded672c269
parent60be7ec5099cee40f40b0fbb75ea4396016a5231
staging: brcm80211: fix rtnl_lock issue when bringing down brcmfmac

When bringing down the netdevice interface a deadlock occurred
sporadically due to the rtnl_lock being held by a task that was
waiting for another task trying to get the lock. This patch fixes
that issue.

Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c