cdma: fix handling of empty QCDM frames

This commit is contained in:
Dan Williams
2010-05-07 13:50:16 -07:00
parent d0d847c65a
commit e855922b4b

View File

@@ -66,7 +66,7 @@ handle_response (MMSerialPort *port,
gsize used = 0;
/* Ignore empty frames */
if (!response->len > 0 && response->data[0] == 0x7E)
if (response->len > 0 && response->data[0] == 0x7E)
return 1;
if (!error) {