mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 07:01:19 +00:00

This patch inverses the connection setup procedure between Gecko and nfcd. Gecko now installs a listen socket and starts nfcd from the init scripts. Nfcd establishes the connection by connecting to Gecko's socket. As a side effect of this patch, nfcd only runs while NFC is switched on. This saves ~1.6 MiB os memory with contemporary NFC drivers on flame-kk.