diff options
author | Vikrampal Yadav <vikram.pal@samsung.com> | 2014-11-19 20:07:30 +0530 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-11-19 21:46:36 +0200 |
commit | 99bda64b3934be1e922693443afa0593a78873c9 (patch) | |
tree | fddce4b4d0aef9fbea781b6e61a42a83b1ae4b89 /monitor/l2cap.h | |
parent | 1d73d302702f0e949d408392869e9d8faf131103 (diff) | |
download | bluez-99bda64b3934be1e922693443afa0593a78873c9.tar.gz |
monitor: Fix the return value of l2cap_frame_get_le16()
The return value of l2cap_frame_get_le16() rectified.
Diffstat (limited to 'monitor/l2cap.h')
-rw-r--r-- | monitor/l2cap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/l2cap.h b/monitor/l2cap.h index c14aeeff0..975f78a12 100644 --- a/monitor/l2cap.h +++ b/monitor/l2cap.h @@ -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, |