Fix typo in Huawei port detection

This commit is contained in:
Marcel Holtmann 2010-08-16 14:49:54 +02:00
parent 0a18997416
commit 78a304de71
1 changed files with 1 additions and 1 deletions

View File

@ -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);