]> asedeno.scripts.mit.edu Git - linux.git/commit
brcmfmac: set txflow request id from 1 to pktids array size
authorWright Feng <Wright.Feng@cypress.com>
Fri, 26 Apr 2019 03:41:46 +0000 (03:41 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 1 May 2019 15:26:07 +0000 (18:26 +0300)
commit2d91c8ad068a5cad4d9e7ece8dc811a697c7176a
tree8030110859ba9c0f4e7a68090babeb402cd5aa36
parente025da3d7aa4770bb1d1b3b0aa7cc4da1744852d
brcmfmac: set txflow request id from 1 to pktids array size

Some PCIE firmwares drop txstatus if pktid is 0 and make packet held in
host side and never be released. If that packet type is 802.1x, the
pend_8021x_cnt value will be always greater than 0 and show "Timed out
waiting for no pending 802.1x packets" error message when sending key to
dongle every time.

To be compatible with all firmwares, host should set txflow request id
from 1 instead of from 0.

Signed-off-by: Wright Feng <wright.feng@cypress.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c