mirror of
https://github.com/apache/nuttx.git
synced 2026-09-13 07:29:46 +08:00
The solution here is to eliminate the device devices semaphore altogether. This eliminates netdev_semtake() and netdev_semgive() and replaces them with net_lock() and net_unlock() which have larger scope as needed for this purpose.