Skip to content
Commit 8e4a714f authored by Tedd Ho-Jeong An's avatar Tedd Ho-Jeong An Committed by Greg Kroah-Hartman
Browse files

Bluetooth: mgmt: Fix the command returns garbage parameter value

[ Upstream commit 02ce2c2c

 ]

When the Get Device Flags command fails, it returns the error status
with the parameters filled with the garbage values. Although the
parameters are not used, it is better to fill with zero than the random
values.

Signed-off-by: default avatarTedd Ho-Jeong An <tedd.an@intel.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 15407b14
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment