mirror of
https://github.com/apache/nuttx.git
synced 2026-05-11 16:01:03 +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.