Will Huang 9323e8559b qcacld-3.0: Add msg.flush_callback for wma_send_msg_by_priority
If wma_send_msg with msg_type WMA_SET_LINK_STATE_RSP, tpLinkStateParams
params has a member callbackArg which is malloc from heap. If this
message is flushed when driver unload, because no msg.flush_callback is
supplied, the flush just free msg->bodyptr and callbackArg got leak.

Fix it by supply a flush_callback as wma_discard_fw_event, and minor
change to avoid NULL pointer access.

Change-Id: Ie979a1e83cbd7c87e5bbb08382ae2af3230a13db
CRs-Fixed: 2181458
2018-02-07 02:15:08 -08:00

This is CNSS WLAN Host Driver for products starting from iHelium
説明
説明が提供されていません
Readme 226 MiB
言語
C 98.7%
C++ 0.9%
Makefile 0.3%
Starlark 0.1%