mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-12-03 09:04:29 +08:00
monitor: Fix the return value of l2cap_frame_get_le16()
The return value of l2cap_frame_get_le16() rectified.
This commit is contained in:
parent
1d73d30270
commit
99bda64b39
@ -92,7 +92,7 @@ static inline bool l2cap_frame_get_le16(struct l2cap_frame *frame,
|
||||
|
||||
l2cap_frame_pull(frame, frame, sizeof(*value));
|
||||
|
||||
return 0;
|
||||
return true;
|
||||
}
|
||||
|
||||
static inline bool l2cap_frame_get_be32(struct l2cap_frame *frame,
|
||||
|
Loading…
Reference in New Issue
Block a user