diff options
author | Denis Kenzior <denkenz@gmail.com> | 2014-03-19 10:20:28 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2014-03-19 10:20:28 -0500 |
commit | 65e6df8e50d26c0efd8621f494eb56a7d6788fe3 (patch) | |
tree | 888012a334a1ab1e48c42eb8cd0411671e931a6d /drivers/hfpmodem | |
parent | 8a7b8b05215c3cfb0934aa3c3807e8f94aab18d7 (diff) | |
download | ofono-65e6df8e50d26c0efd8621f494eb56a7d6788fe3.tar.bz2 |
hfp: Fixup variable names
Diffstat (limited to 'drivers/hfpmodem')
-rw-r--r-- | drivers/hfpmodem/handsfree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hfpmodem/handsfree.c b/drivers/hfpmodem/handsfree.c index bbe10b86..e62fa26d 100644 --- a/drivers/hfpmodem/handsfree.c +++ b/drivers/hfpmodem/handsfree.c @@ -49,7 +49,7 @@ static const char *bvra_prefix[] = { "+BVRA:", NULL }; struct hf_data { GAtChat *chat; unsigned int ag_features; - unsigned int ag_mpty_features; + unsigned int ag_chld_features; int battchg_index; guint register_source; }; @@ -140,7 +140,7 @@ static gboolean hfp_handsfree_register(gpointer user_data) ofono_handsfree_set_inband_ringing(hf, TRUE); ofono_handsfree_set_ag_features(hf, hd->ag_features); - ofono_handsfree_set_ag_chld_features(hf, hd->ag_mpty_features); + ofono_handsfree_set_ag_chld_features(hf, hd->ag_chld_features); ofono_handsfree_register(hf); return FALSE; @@ -156,7 +156,7 @@ static int hfp_handsfree_probe(struct ofono_handsfree *hf, hd = g_new0(struct hf_data, 1); hd->chat = g_at_chat_clone(info->chat); hd->ag_features = info->ag_features; - hd->ag_mpty_features = info->ag_mpty_features; + hd->ag_chld_features = info->ag_mpty_features; ofono_handsfree_set_data(hf, hd); |