summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeevaka Badrappan <jeevaka.badrappan@elektrobit.com>2011-02-05 06:29:07 -0800
committerMarcel Holtmann <marcel@holtmann.org>2011-02-05 07:04:17 -0800
commita4c37333145b65e5ff7b6c9727fd2c5d673152b0 (patch)
tree98e873faf2c440f8fa46fa87510a965a7b8aedcc
parent4534b1c3286f83af42091f6feda9801621928a11 (diff)
downloadofono-a4c37333145b65e5ff7b6c9727fd2c5d673152b0.tar.bz2
hfpmodem: M16 coding style fix
-rw-r--r--drivers/hfpmodem/voicecall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hfpmodem/voicecall.c b/drivers/hfpmodem/voicecall.c
index f247bea4..e5121f47 100644
--- a/drivers/hfpmodem/voicecall.c
+++ b/drivers/hfpmodem/voicecall.c
@@ -229,7 +229,7 @@ static void clcc_poll_cb(gboolean ok, GAtResult *result, gpointer user_data)
if (oc && (nc == NULL || (nc->id > oc->id))) {
enum ofono_disconnect_reason reason;
- if (vd->local_release & (0x1 << oc->id))
+ if (vd->local_release & (1 << oc->id))
reason = OFONO_DISCONNECT_REASON_LOCAL_HANGUP;
else
reason = OFONO_DISCONNECT_REASON_REMOTE_HANGUP;