mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
qcacld-3.0: Fix MIC verification in helium family
Currently MIC verification is not proper for fragmented packets, fix MIC verification for helium family. Change-Id: Iac95c579287bafedf6521b38f2c628fd08cca72d CRs-Fixed: 2869483
This commit is contained in:
parent
e171609dd8
commit
19857b4f99
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2011-2020 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2011-2021 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
|
|
@ -904,7 +904,7 @@ ol_rx_frag_tkip_demic(ol_txrx_pdev_handle pdev, const uint8_t *key,
|
|||
|
||||
ol_rx_defrag_copydata(msdu, pktlen - f_tkip.ic_miclen + rx_desc_len,
|
||||
f_tkip.ic_miclen, (caddr_t) mic0);
|
||||
if (!qdf_mem_cmp(mic, mic0, f_tkip.ic_miclen))
|
||||
if (qdf_mem_cmp(mic, mic0, f_tkip.ic_miclen))
|
||||
return OL_RX_DEFRAG_ERR;
|
||||
|
||||
qdf_nbuf_trim_tail(msdu, f_tkip.ic_miclen);
|
||||
|
|
|
|||
Loading…
Reference in a new issue