mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 10:32:47 +08:00
33085cb309
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.