brcmsmac: increase timer reference count for new timers only
authorPiotr Haber <phaber@broadcom.com>
Thu, 10 Jan 2013 10:20:48 +0000 (11:20 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 Jan 2013 19:12:02 +0000 (14:12 -0500)
commita1fe52801a992e590cdaee2fb47a94bac9b5da90
tree7a9c7a3a559e76d9569e419bc4a61f2b3bf20a44
parent4b883f021b9ccf2df3d14425e6e610281fb6a35e
brcmsmac: increase timer reference count for new timers only

On hardware reintialization reference count of
already existing timers would be increased again.
This leads to problems on module unloading.

Cc: stable@vger.kernel.org
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Piotr Haber <phaber@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c