]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 6 Feb 2013 04:33:43 +0000 (04:33 +0000)
commit9741d4ebfe08afb7a925cb60a20dba7c30166bed
treed367b8c2990ee4a0508a2dfeb8948e6cb345cec7
parenta282707dd03b6cbf4acc77e2d0e9a4ea1ccb2d04
brcmsmac: increase timer reference count for new timers only

commit a1fe52801a992e590cdaee2fb47a94bac9b5da90 upstream.

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

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c