mirror of git://git.sysmocom.de/ofono
qmimodem: fix QMI notification messages handling
QMI notification messages handlers are never called on MC7430 without this fix. - Do not test transaction id before calling notification handler. On MC7430, notification messages contain a not null transaction id (starts with 1, increased at each message for a particular client). - On MC7304 transaction id in notification messages is always 0.
This commit is contained in:
parent
a8f4e23c75
commit
567e5ec9fc
|
@ -758,7 +758,7 @@ static void handle_packet(struct qmi_device *device,
|
|||
|
||||
tid = GUINT16_FROM_LE(service->transaction);
|
||||
|
||||
if (service->type == 0x04 && tid == 0x0000) {
|
||||
if (service->type == 0x04) {
|
||||
handle_indication(device, hdr->service, hdr->client,
|
||||
message, length, data);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue