aboutsummaryrefslogtreecommitdiff
path: root/lib/clz_tab.c
diff options
context:
space:
mode:
authorAmitkumar Karwar <[email protected]>2014-06-20 11:45:25 -0700
committerJohn W. Linville <[email protected]>2014-06-25 14:30:29 -0400
commitd76744a93246eccdca1106037e8ee29debf48277 (patch)
tree912042a120dcf1079fe363882914e8d6993ddcfb /lib/clz_tab.c
parent8b87efba61420c1b99060de52c1b9cf46157eed1 (diff)
mwifiex: fix Tx timeout issue
https://bugzilla.kernel.org/show_bug.cgi?id=70191 https://bugzilla.kernel.org/show_bug.cgi?id=77581 It is observed that sometimes Tx packet is downloaded without adding driver's txpd header. This results in firmware parsing garbage data as packet length. Sometimes firmware is unable to read the packet if length comes out as invalid. This stops further traffic and timeout occurs. The root cause is uninitialized fields in tx_info(skb->cb) of packet used to get garbage values. In this case if MWIFIEX_BUF_FLAG_REQUEUED_PKT flag is mistakenly set, txpd header was skipped. This patch makes sure that tx_info is correctly initialized to fix the problem. Cc: <[email protected]> Reported-by: Andrew Wiley <[email protected]> Reported-by: Linus Gasser <[email protected]> Reported-by: Michael Hirsch <[email protected]> Tested-by: Xinming Hu <[email protected]> Signed-off-by: Amitkumar Karwar <[email protected]> Signed-off-by: Maithili Hinge <[email protected]> Signed-off-by: Avinash Patil <[email protected]> Signed-off-by: Bing Zhao <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'lib/clz_tab.c')
0 files changed, 0 insertions, 0 deletions