diff options
author | Ryan Raasch <ryan.raasch@gmail.com> | 2009-10-27 13:54:31 +0100 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-10-28 16:36:33 -0500 |
commit | c630300c99f9183d735ee95edcafc3ff7e32170c (patch) | |
tree | 5399f74bffee67dac39e3ae0502d95760110470f /gatchat/gattty.c | |
parent | ba9f38b09ee44c275d6824e83966d1c061c54e45 (diff) | |
download | ofono-c630300c99f9183d735ee95edcafc3ff7e32170c.tar.bz2 |
Refactor: Capitalize g_at_tty option names
Diffstat (limited to 'gatchat/gattty.c')
-rw-r--r-- | gatchat/gattty.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gatchat/gattty.c b/gatchat/gattty.c index f18eca4e..64dd8abb 100644 --- a/gatchat/gattty.c +++ b/gatchat/gattty.c @@ -208,21 +208,21 @@ static int open_device(const char *tty, GHashTable *options) (void *) &value)) { gboolean ok = FALSE; - if (g_str_equal(key, "baud")) + if (g_str_equal(key, "Baud")) ok = set_baud(value, &ti); - else if (g_str_equal(key, "stopbits")) + else if (g_str_equal(key, "StopBits")) ok = set_stop_bits(value, &ti); - else if (g_str_equal(key, "databits")) + else if (g_str_equal(key, "DataBits")) ok = set_data_bits(value, &ti); - else if (g_str_equal(key, "parity")) + else if (g_str_equal(key, "Parity")) ok = set_parity(value, &ti); - else if (g_str_equal(key, "xonxoff")) + else if (g_str_equal(key, "XonXoff")) ok = set_xonxoff(value, &ti); - else if (g_str_equal(key, "rtscts")) + else if (g_str_equal(key, "Rtscts")) ok = set_rtscts(value, &ti); - else if (g_str_equal(key, "local")) + else if (g_str_equal(key, "Local")) ok = set_local(value, &ti); - else if (g_str_equal(key, "read")) + else if (g_str_equal(key, "Read")) ok = set_read(value, &ti); if (ok == FALSE) |