Skip to content

Bluetooth: Various mgmt fixes

Johan Hedberg linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Bluetooth: Fix missing command complete event for mgmt_confirm_namenet/bluetooth/mgmt.c+2 -11 reply
2/8Bluetooth: Fix missing command complete for mgmt_load_long_term_keysnet/bluetooth/mgmt.c+5 -21 reply
3/8Bluetooth: Fix checking for valid device class valuesnet/bluetooth/mgmt.c+6 -01 reply
4/8Bluetooth: Fix accepting set_dev_class for non-BR/EDR controllersnet/bluetooth/mgmt.c+6 -01 reply
5/8Bluetooth: Fix returning proper command status for start_discoverynet/bluetooth/mgmt.c+25 -104 replies
6/8Bluetooth: Move non-critical sections outside of the dev locknet/bluetooth/mgmt.c+18 -281 reply
7/8Bluetooth: Fix checking for exact values of boolean mgmt parametersnet/bluetooth/mgmt.c+36 -06 replies
8/8Bluetooth: Fix sending incorrect new_settings for mgmt_set_powerednet/bluetooth/mgmt.c+3 -22 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchMarcel Holtmann
1/8A-b
2/8A-b
3/8A-b
4/8A-b
5/8A-b
6/8A-b
7/8A-b
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] Bluetooth: Various mgmt fixes

Hi,

This this set of patches fixes various issues with the management interface that have been found in the past few weeks. It also improves the pass-rate of the user space mgmt-tester to all but one test case (which I'm not 100% sure is correct anyway):

Total: 35, Passed: 34 (97.1%), Failed: 1, Not Run: 0

Johan Hedberg (8):
Bluetooth: Fix missing command complete event for mgmt_confirm_name
Bluetooth: Fix missing command complete for mgmt_load_long_term_keys
Bluetooth: Fix checking for valid device class values
Bluetooth: Fix accepting set_dev_class for non-BR/EDR controllers
Bluetooth: Fix returning proper command status for start_discovery
Bluetooth: Move non-critical sections outside of the dev lock
Bluetooth: Fix checking for exact values of boolean mgmt parameters
Bluetooth: Fix sending incorrect new_settings for mgmt_set_powered

 net/bluetooth/mgmt.c |  124 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 91 insertions(+), 33 deletions(-)

Johan