Bluetooth: MGMT: Uninitialized variable in load_conn_param()
authorDan Carpenter <dan.carpenter@linaro.org>
Fri, 24 May 2024 10:14:02 +0000 (13:14 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 15 Jul 2024 01:34:08 +0000 (21:34 -0400)
commit183469bccf68cb05dfb56cc47e73520217854bab
tree1edb09bd88a57a687c46a9c3cc5329d75335ea69
parentfbcd1492d8c0ae39bf9f1d3d85228e7e279c4d24
Bluetooth: MGMT: Uninitialized variable in load_conn_param()

The "update" variable needs to be initialized to false.

Fixes: 0ece498c27d8 ("Bluetooth: MGMT: Make MGMT_OP_LOAD_CONN_PARAM update existing connection")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/mgmt.c