diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-08-16 14:49:54 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-08-16 14:49:54 +0200 |
commit | 78a304de717b54eab79a0f0fd227a1db7186ed40 (patch) | |
tree | d3703001b283a94f5b0e003f1c6daa5c9d115176 | |
parent | 0a189974167be737bdd25a714ec0a4d9e87f776f (diff) | |
download | ofono-78a304de717b54eab79a0f0fd227a1db7186ed40.tar.bz2 |
Fix typo in Huawei port detection
-rw-r--r-- | plugins/udev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/udev.c b/plugins/udev.c index 08447759..1ddfbea4 100644 --- a/plugins/udev.c +++ b/plugins/udev.c @@ -275,7 +275,7 @@ static void add_huawei(struct ofono_modem *modem, ppp = ofono_modem_get_integer(modem, "ModemRegistered"); pcui = ofono_modem_get_integer(modem, "PcuiRegistered"); - if (ppp & pcui) + if (ppp && pcui) return; entry = udev_device_get_properties_list_entry(udev_device); |