Sanitized research log, build/reproducibility docs, DTS, kernel configs, patches, initramfs sources, bootchain migration plans and test logs. B5 direct boot PASS; B6 modem lifecycle in progress. No dumps, NV/EFS, vendor firmware or device identifiers included.
13 lines
537 B
Diff
13 lines
537 B
Diff
--- planB/rpmsg_wwan_ctrl.c.orig 2026-09-26 15:40:27.272000000 +0600
|
|
+++ linux/drivers/net/wwan/rpmsg_wwan_ctrl.c 2026-09-26 15:40:27.300000000 +0600
|
|
@@ -37,6 +37,10 @@
|
|
};
|
|
|
|
strscpy(chinfo.name, rpwwan->rpdev->id.name, sizeof(chinfo.name));
|
|
+ /* The port can be opened before wwan_create_port() returns to probe,
|
|
+ * so make sure the rx callback never sees a NULL wwan_port.
|
|
+ */
|
|
+ rpwwan->wwan_port = port;
|
|
rpwwan->ept = rpmsg_create_ept(rpwwan->rpdev, rpmsg_wwan_ctrl_callback,
|
|
rpwwan, chinfo);
|
|
if (!rpwwan->ept)
|