]> 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)
commit5fb76b4b8951e7d6f0536e90e20e9d8464622464
tree830ea118d459f2221e47c392c12d13c26bb9ddcc
parent06a5a533c0edbfb83904cc10bce0003566a84a61
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