brcmfmac: decrement pending 8021x count upon tx failure
authorArend van Spriel <arend@broadcom.com>
Mon, 22 Jul 2013 18:31:22 +0000 (20:31 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Jul 2013 20:04:09 +0000 (16:04 -0400)
commit28a905b51c2b3fabbb0eb53af229fc365200e398
tree830ea118d459f2221e47c392c12d13c26bb9ddcc
parent5d21608a592a9afcac8d82c6478a564e911ce70b
brcmfmac: decrement pending 8021x count upon tx failure

If the transmit fails because there are no hanger slots or
any other reason and the packet was an EAPOL packet the
pending counter should be decreased although it was not
transmitted so the driver does not end up in a dead-lock.

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@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/fwsignal.c