2 # To be used by distributions using compressed modules
7 for i in $(modprobe -l mac80211); do
10 if [ "$i" = "mac80211.ko.gz" ]; then
16 if [ $COUNT -gt 2 ]; then
17 echo "More than two mac80211 modules are detected, please report this."
21 if [ $COMPRESSION_FOUND = "n" ]; then
25 DIRS="$KLIB/$KMODDIR/net/mac80211/"
26 # This handles both drivers/net/ and drivers/net/wireless/
27 DIRS="$DIRS $KLIB/$KMODDIR/net/"
28 DIRS="$DIRS $KLIB/$KMODDIR/drivers/ssb/"
29 DIRS="$DIRS $KLIB/$KMODDIR/drivers/net/usb/"
30 DIRS="$DIRS $KLIB/$KMODDIR/drivers/net/wireless/"
31 DIRS="$DIRS $KLIB/$KMODDIR/drivers/misc/eeprom/"
37 for driver in $(find $i -type f -name *.ko); do