Diff between 8f15296d8b3e6f2a42e7bc92fc2c9e6b218f360e and b5b7e6203b9303b20751f4ef0ad2d6a01a671ae9
Changed Files
| File | Additions | Deletions | Status |
| profiles/input/hog-lib.c | +0 | -4 | modified |
Full Patch
diff --git a/profiles/input/hog-lib.c b/profiles/input/hog-lib.c
index ecd15ad..3bbe423 100644
--- a/profiles/input/hog-lib.c
+++ b/profiles/input/hog-lib.c
@@ -184,10 +184,6 @@ static void read_char(struct bt_hog *hog, GAttrib *attrib, uint16_t handle,
struct gatt_request *req;
unsigned int id;
- /* Ignore if not connected */
- if (!attrib)
- return;
-
req = create_request(hog, user_data);
if (!req)
return;