brcmsmac: increase timer reference count for new timers only
authorPiotr Haber <phaber@broadcom.com>
Wed, 2 Jan 2013 14:22:34 +0000 (15:22 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Jan 2013 20:16:54 +0000 (15:16 -0500)
commit01486c5ad388c8a38f2e075666e8c2ee32bda4b6
treeb3dc9f841e480c9fb051964c32b351a0d00e3a35
parenta02308e931ad0bba19803779bec491c4b2d67b47
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.

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