ucode: fix a few ucode binding issues
authorFelix Fietkau <nbd@nbd.name>
Thu, 4 Apr 2024 18:45:43 +0000 (20:45 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 4 Apr 2024 18:45:45 +0000 (20:45 +0200)
commit980220ad17622456be141fb66a00e2b776a58749
treed972cf8aad28bb06ca41ba16d9ff4cc68863a9b2
parentddb18d2657578bb39ffad4795cedee215f9b36b0
ucode: fix a few ucode binding issues

- fix resource refcounting bug by storing a resource pointer in the priv data
- handle writes from within the .request call

Signed-off-by: Felix Fietkau <nbd@nbd.name>
ucode.c