brcmfmac: Accept only first creditmap event.
authorHante Meuleman <meuleman@broadcom.com>
Thu, 6 Jun 2013 11:17:58 +0000 (13:17 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 Jun 2013 19:02:20 +0000 (15:02 -0400)
commit0d24b0eade7d4b6a5d06fe02645449b1fd0f8e17
treea2b9d8c735db01af2d79784f6c6bb246bad2ca56
parent402e3ba20285f0ebe4f4bebdecb7ab24999f3626
brcmfmac: Accept only first creditmap event.

During P2P testing it turned out that the firmware sents multiple
multiple creditmap event messages. Only the first message from the
firmware should be processed. Otherwise the firmware-signalled flow
control can run haywire when it has packets outstanding in firmware.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@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