aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorJiachao Wu <jiacwu@codeaurora.org>2018-04-25 16:08:54 +0800
committerJiachao Wu <jiacwu@codeaurora.org>2018-04-27 10:48:58 +0800
commit5f43d7b8a8ad11beea8c78ee6a5df1c25ae0c2ac (patch)
tree5dbe62054ecc4d56bfeb5956cb6d8d64aa0fd839 /net/lapb/lapb_timer.c
parent312a2aaa848372b118761d15fc096ff90d1ccaf6 (diff)
qcacld-2.0: Fix a double free issue in getLinkspeed
The buffer in vosMessage.bodyptr will be freed in wma_mc_process_msg. hdd_request_put will free it again. So malloc a buffer instead of request priv buffer. There have a logic error when check return value in wlan_hdd_get_linkspeed_for_peermac.It will cause get linkspeed failed. Change-Id: I4d4dd9d151639e2d0c704301e5607545ab0c729f CRs-Fixed: 2223972
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions