mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 12:27:26 +04:00
The LG Magic Remote MR24 pads a Read By Type response for the characteristic declaration with junk entries once its attribute table is exhausted, and bluetoothd then throws the whole GATT discovery away, so the HID over GATT profile never attaches and the remote produces no input device. Add a gatt-helpers fix that accepts only the ascending, in-range prefix of such a response. Signed-off-by: Daniel Golle <daniel@makrotopia.org>