summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-10-10 09:47:53 -0700
committerJohan Hedberg <johan.hedberg@intel.com>2013-10-10 22:07:00 +0200
commit21b5187f23206c0343214194711c8f63e7003d0c (patch)
treeb4b7e25cf3b41b9c01d654d5282f9ea36f406d60
parentcebf4cfd8608cbcc941750801217988f0a8fc848 (diff)
downloadop-kernel-dev-21b5187f23206c0343214194711c8f63e7003d0c.zip
op-kernel-dev-21b5187f23206c0343214194711c8f63e7003d0c.tar.gz
Bluetooth: Fix too long line with set_advertising() function
The function declaration goes over 80 characters, so break it down. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
-rw-r--r--net/bluetooth/mgmt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c
index 7d25d6d..2793bfe 100644
--- a/net/bluetooth/mgmt.c
+++ b/net/bluetooth/mgmt.c
@@ -3255,7 +3255,8 @@ static void set_advertising_complete(struct hci_dev *hdev, u8 status)
sock_put(match.sk);
}
-static int set_advertising(struct sock *sk, struct hci_dev *hdev, void *data, u16 len)
+static int set_advertising(struct sock *sk, struct hci_dev *hdev, void *data,
+ u16 len)
{
struct mgmt_mode *cp = data;
struct pending_cmd *cmd;
OpenPOWER on IntegriCloud