mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-21 09:42:09 +00:00
Instead of canonicalizing module names in the internal avl tree simpyl use a custom strcmp() variant for the avl tree key comparisation. The custom comperator simply treats dashes and underscores the same, so "nls_iso8859-15" is equal to "nls-iso8859-15". This allows us to simplify the code considerably and makes manual "modprobe" invocations more forgiving when looking up the given module name. SVN-Revision: 38248