diff options
| author | Dundi Raviteja <dundi@codeaurora.org> | 2018-05-23 19:03:57 +0530 |
|---|---|---|
| committer | David Lin <dtwlin@google.com> | 2018-07-12 18:20:16 -0700 |
| commit | 928bf4c101e87cba00d34943e4fe44e4fe167a14 (patch) | |
| tree | 36255c592ccd2fe52bdd44424af118b1fbad91ce /net/lapb/lapb_in.c | |
| parent | a4102336dfaafed26340bddc134efc3f43b05ddb (diff) | |
qcacld-2.0: Modify addition of proper length to payload
Currently, in ptt_sock_send_msg_to_app() function sizeof(tAniHdr) is adding
to payload, but this size is already added in length field of tAniHdr.
To address this issue, remove the addition of sizeof(tAniHdr) in
ptt_sock_send_msg_to_app(). Also remove the checking of length against
sizeof(tAniHdr) in ptt_cmd_handler() function.
Bug: 73884889
Change-Id: I58036fd172f3a3c6963757205e0c82e407e2f69b
CRs-Fixed: 2247469
Signed-off-by: Ecco Park <eccopark@google.com>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
