mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
cebf4cfd86
commit
21b5187f23
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue