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