Skip to content
Commit 16f0997b authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-mod-status: luci-bwc: skip "." and ".." when finding netdevs



Skip the "." and ".." directory entries of "/sys/class/net/" instead of
passing them on to libiwinfo's probe function. This avoids a situation
where the kernel requests a modprobe of "netdev-." and "netdev-.." over
and over again, resulting in high load on lower end systems.

Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 7fe89cbf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment