kmodloader: fix not being able to find some modules
authorNathan Hintz <nlhintz@hotmail.com>
Tue, 21 Feb 2017 05:14:24 +0000 (05:14 +0000)
committerFelix Fietkau <nbd@nbd.name>
Tue, 21 Feb 2017 13:07:38 +0000 (14:07 +0100)
commit8973576f21b2f9b1f21924460e1d8842e3e8d5ce
treee55d8db3f9eb7b5c041e1c027e4c96f7181df09e
parentfce9382b4b99178fdbd188bec098b9b085327fef
kmodloader: fix not being able to find some modules

kmodloader is using slightly different criteria for ordering the AVL tree
versus what it uses to traverse it.  This sometimes results in not being
able to find some modules.

Reference: https://bugs.lede-project.org/index.php?do=details&task_id=443

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
kmodloader.c