]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Remove nl_msg free on send failure for NAN USD commands
authorShivani Baranwal <quic_shivbara@quicinc.com>
Thu, 12 Sep 2024 12:19:03 +0000 (17:49 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 12 Sep 2024 18:39:08 +0000 (21:39 +0300)
commitf5435991563cbfb215db34a78cb93d5c1c20eb2f
treec5121404b77205be62d1ea2b52ffbee16d555466
parent8e9cfbf602af71a1dd056fdffaa072e88af69ba6
nl80211: Remove nl_msg free on send failure for NAN USD commands

Remove nl_msg_free() after send failure for NAN USD commands. Freeing
the nl_msg is already taken care as part of send_and_recv_cmd() for both
success and failure cases.

Fixes: 58f04221fdef ("nl80211: NAN USD commands for offloading")
Signed-off-by: Shivani Baranwal <quic_shivbara@quicinc.com>
src/drivers/driver_nl80211.c