Repository navigation
Commit 8d7a398
Bluetooth: mgmt: Fix the command returns garbage parameter value
[ Upstream commit 02ce2c2 ]
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: Tedd Ho-Jeong An <tedd.an@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 05298f1 commit 8d7a398
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4038 | 4038 | | |
4039 | 4039 | | |
4040 | 4040 | | |
| 4041 | + | |
| 4042 | + | |
4041 | 4043 | | |
4042 | 4044 | | |
4043 | 4045 | | |
| |||
0 commit comments