Diff between eed45ab621618fca06cbe720d1b9bc616731335d and af7a57574215e5862471db4bada0d87e039d3dc4

Changed Files

File Additions Deletions Status
monitor/rfcomm.c +1 -1 modified

Full Patch

diff --git a/monitor/rfcomm.c b/monitor/rfcomm.c
index fe3afb7..4ba61c8 100644
--- a/monitor/rfcomm.c
+++ b/monitor/rfcomm.c
@@ -67,7 +67,7 @@ static char *cr_str[] = {
 #define GET_RPN_DB(parity)	(parity & 0x03)
 #define GET_RPN_SB(parity)	((parity & 0x04) >> 2)
 #define GET_RPN_PARITY(parity)	((parity & 0x08) >> 3)
-#define GET_RPN_PTYPE(parity)	((parity & 0x03) >> 3)
+#define GET_RPN_PTYPE(parity)	((parity & 0x30) >> 4)
 #define GET_RPN_XIN(io)		(io & 0x01)
 #define GET_RPN_XOUT(io)	((io & 0x02) >> 1)
 #define GET_RPN_RTRI(io)	((io & 0x04) >> 2)