brcmfmac: allow stopping netif queue for different reasons
authorArend van Spriel <arend@broadcom.com>
Wed, 3 Apr 2013 10:40:34 +0000 (12:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 3 Apr 2013 19:07:05 +0000 (15:07 -0400)
commit29e04ae31ddb08794afbbef3cb72249d3804f47e
treed88e33096a73897f33754e8ffdfa149f8bff9087
parentfba1400a9b8149b3c7ee02be3b1ea0429912372e
brcmfmac: allow stopping netif queue for different reasons

Currently, the netif queue is only stopped when the bus interface is
giving a push back. This will change soon so prepare the driver by
adding a stop reason and stop/resume the queue accordingly.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-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/brcmfmac/dhd.h
drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c