Pragaspathi Thilagaraj fea5b025f4 qcacld-3.0: Fix the frame check in cm_handle_roam_reason_deauth
In cm_handle_roam_reason_deauth() API the deauth_disassoc_frame
is validated to avoid NULL pointer dereference and the roam
event is dropped if the frame is NULL. But the firmware can
send the event only with reason code and without including the
deauthentication/disassociation frame. So disconnect indication
event is not sent to framework upon receiving disassoc/deatuth.

Remove the frame check to validate the deauth/disassoc frame.
Update the logic in pe_disconnect_callback to check the deauth/
disassoc frame pointer if length is non-zero.

Change-Id: Ibc612e89d6edbbd40d7c79713197e4121cddc097
CRs-Fixed: 3313804
2022-10-17 18:16:37 -07:00
2021-12-22 23:01:44 -08:00
Опис
Немає опису
Файл readme 226 MiB
Мови
C 98.7%
C++ 0.9%
Makefile 0.3%
Starlark 0.1%