]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9c0c3e37eb36b445295886b58723e235fa0acb21
tree830ea118d459f2221e47c392c12d13c26bb9ddcc
parent7b31f9fe2bbd63db73b8f75b93d52958a3f8f37a
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