aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/mgmt.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2012-03-16 11:02:56 -0400
committerGustavo Padovan <gustavo@padovan.org>2012-05-08 23:41:33 -0400
commitd97dcb66001222efa79e55f5260b9b660fd452a4 (patch)
tree9113e2af7b176cb5e4790f3aa60f28a7f5c33979 /net/bluetooth/mgmt.c
parentc9ecc48e2f3577a73dcd830d8b67ecc48e224465 (diff)
Bluetooth: mgmt: Fix some code style and indentation issues
Signed-off-by: Szymon Janc <szymon.janc@tieto.com> Acked-by: Gustavo Padovan <gustavo@padovan.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/mgmt.c')
-rw-r--r--net/bluetooth/mgmt.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c
index 5fc741bab2bf..402cb0026f5d 100644
--- a/net/bluetooth/mgmt.c
+++ b/net/bluetooth/mgmt.c
@@ -1144,8 +1144,8 @@ static int set_ssp(struct sock *sk, struct hci_dev *hdev, void *data, u16 len)
1144 } 1144 }
1145 1145
1146 if (mgmt_pending_find(MGMT_OP_SET_SSP, hdev)) { 1146 if (mgmt_pending_find(MGMT_OP_SET_SSP, hdev)) {
1147 err = cmd_status(sk, hdev->id, MGMT_OP_SET_SSP, 1147 err = cmd_status(sk, hdev->id, MGMT_OP_SET_SSP,
1148 MGMT_STATUS_BUSY); 1148 MGMT_STATUS_BUSY);
1149 goto failed; 1149 goto failed;
1150 } 1150 }
1151 1151
@@ -3052,7 +3052,7 @@ int mgmt_device_disconnected(struct hci_dev *hdev, bdaddr_t *bdaddr,
3052 sk); 3052 sk);
3053 3053
3054 if (sk) 3054 if (sk)
3055 sock_put(sk); 3055 sock_put(sk);
3056 3056
3057 mgmt_pending_foreach(MGMT_OP_UNPAIR_DEVICE, hdev, unpair_device_rsp, 3057 mgmt_pending_foreach(MGMT_OP_UNPAIR_DEVICE, hdev, unpair_device_rsp,
3058 hdev); 3058 hdev);
@@ -3464,10 +3464,10 @@ int mgmt_le_enable_complete(struct hci_dev *hdev, u8 enable, u8 status)
3464 3464
3465 if (enable && test_and_clear_bit(HCI_LE_ENABLED, 3465 if (enable && test_and_clear_bit(HCI_LE_ENABLED,
3466 &hdev->dev_flags)) 3466 &hdev->dev_flags))
3467 err = new_settings(hdev, NULL); 3467 err = new_settings(hdev, NULL);
3468 3468
3469 mgmt_pending_foreach(MGMT_OP_SET_LE, hdev, 3469 mgmt_pending_foreach(MGMT_OP_SET_LE, hdev, cmd_status_rsp,
3470 cmd_status_rsp, &mgmt_err); 3470 &mgmt_err);
3471 3471
3472 return err; 3472 return err;
3473 } 3473 }