History

Bluetooth: Send device found event on name resolve failure

Introducing NAME_REQUEST_FAILED flag that will be sent together with device found event on name resolve failure. This will provide the userspace with an information so it can decide not to resolve the name for these devices in the future.

Archie Pusaka committed 4 years ago

Commit ea13aed1 parent 79786563 files · +19 −13Browse files

Showing the changes to include (1 of 3 files). Show all

Unified · Split

include/net/bluetooth/mgmt.h+5−4
@@ -936,10 +936,11 @@ struct mgmt_ev_auth_failed { · 935 unmodified lines
936936 __u8 status;
937937 } __packed;
938938
939−#define MGMT_DEV_FOUND_CONFIRM_NAME 0x01
940−#define MGMT_DEV_FOUND_LEGACY_PAIRING 0x02
941−#define MGMT_DEV_FOUND_NOT_CONNECTABLE 0x04
942−#define MGMT_DEV_FOUND_INITIATED_CONN 0x08
939+#define MGMT_DEV_FOUND_CONFIRM_NAME 0x01
940+#define MGMT_DEV_FOUND_LEGACY_PAIRING 0x02
941+#define MGMT_DEV_FOUND_NOT_CONNECTABLE 0x04
942+#define MGMT_DEV_FOUND_INITIATED_CONN 0x08
943+#define MGMT_DEV_FOUND_NAME_REQUEST_FAILED 0x10
943944
944945 #define MGMT_EV_DEVICE_FOUND 0x0012
945946 struct mgmt_ev_device_found {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t