broadcom-wl: don't inherit lock descriptor in nas process
authorJo-Philipp Wich <jo@mein.io>
Thu, 28 May 2020 11:03:02 +0000 (13:03 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 28 May 2020 11:08:51 +0000 (13:08 +0200)
commit31de4a40e758f384e89b592806a64130833cac35
tree34881e86521a186d20a14c6eba36d1ab59ab200f
parent83b714a27ff3f3a394dfb1c8f6f05467a093a91a
broadcom-wl: don't inherit lock descriptor in nas process

Add a local hack to prevent the Broadcom WPA authenticator process from
inheriting the lock descriptor 1000 used to prevent concurrent executions
of the init script.

Without this fix, repeated invocations of /etc/init.d/network, e.g. for
obtaining the enabled state, would hang forever.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit a03d6d2fab13c478a0f6cfc3082bec141f2adcf1)
package/kernel/broadcom-wl/Makefile
package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh