summaryrefslogtreecommitdiff
path: root/monitor/rfcomm.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2016-12-09 12:21:45 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2016-12-16 14:10:11 +0200
commit452024ba83452eee5accdbe5506ab3683cd4790c (patch)
tree5055a8f4c350b13ee4b140c9709b042ab8d0d885 /monitor/rfcomm.c
parent4caa505cb6e46d6b518d11be69b2559d1095e8b7 (diff)
downloadbluez-452024ba83452eee5accdbe5506ab3683cd4790c.tar.gz
monitor/rfcomm: Remove packed attribute from structs
These structs do not represent the raw PDU format thus they don't need to be the exact same size.
Diffstat (limited to 'monitor/rfcomm.c')
-rw-r--r--monitor/rfcomm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/monitor/rfcomm.c b/monitor/rfcomm.c
index b32ad40a8..fd7bbdc0f 100644
--- a/monitor/rfcomm.c
+++ b/monitor/rfcomm.c
@@ -90,13 +90,13 @@ struct rfcomm_lhdr {
uint16_t length;
uint8_t fcs;
uint8_t credits; /* only for UIH frame */
-} __attribute__((packed));
+};
struct rfcomm_lmsc {
uint8_t dlci;
uint8_t v24_sig;
uint8_t break_sig;
-} __attribute__((packed));
+};
struct rfcomm_rpn {
uint8_t dlci;
@@ -111,16 +111,16 @@ struct rfcomm_rpn {
struct rfcomm_rls {
uint8_t dlci;
uint8_t error;
-} __attribute__((packed));
+};
struct rfcomm_nsc {
uint8_t cmd_type;
-} __attribute__((packed));
+};
struct rfcomm_lmcc {
uint8_t type;
uint16_t length;
-} __attribute__((packed));
+};
struct rfcomm_frame {
struct rfcomm_lhdr hdr;