Bluetooth: Fix incorrect type for window and interval

The types for window and interval should be uint16, not uint8.

Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
Abhishek Pandit-Subedi 2020-05-12 19:09:32 -07:00 коммит произвёл Marcel Holtmann
Родитель e625e50cee
Коммит aaebf8e608
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -890,7 +890,7 @@ void hci_req_add_le_passive_scan(struct hci_request *req)
struct hci_dev *hdev = req->hdev; struct hci_dev *hdev = req->hdev;
u8 own_addr_type; u8 own_addr_type;
u8 filter_policy; u8 filter_policy;
u8 window, interval; u16 window, interval;
if (hdev->scanning_paused) { if (hdev->scanning_paused) {
bt_dev_dbg(hdev, "Scanning is paused for suspend"); bt_dev_dbg(hdev, "Scanning is paused for suspend");