QMI notification messages handlers are never called on MC7430 without this fix.
drivers/qmimodem/qmi.c
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.
---
drivers/qmimodem/qmi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/qmimodem/qmi.c b/drivers/qmimodem/qmi.c
index 3389bb1f..0080f250 100644
--- a/drivers/qmimodem/qmi.c
+++ b/drivers/qmimodem/qmi.c
@@ -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;
--
2.11.0