diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2008-07-17 09:10:48 -0700 |
---|---|---|
committer | Luis R. Rodriguez <lrodriguez@atheros.com> | 2008-07-17 09:10:48 -0700 |
commit | b50a641d2a33c228805c8c1b526773fa3635356e (patch) | |
tree | 1e02865f904640e12452db1f2d0b1bbf684ab737 | |
parent | 61626dc08f6b641decf04cfc4a643a8e7a7d9f6f (diff) | |
download | compat-wireless-2.6-old-b50a641d2a33c228805c8c1b526773fa3635356e.tar.gz |
mac80211 loads on 2.6.22 but when you load a driver it
crashes right now on IEEE80211_DEV_TO_SUB_IF() in ieee80211_i.h.
We hit the BUG_ON:
BUG_ON(!local || local->mdev == dev);
Once this bug is fixed we can re-enable compilation for 2.6.22.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
-rw-r--r-- | config.mk | 1 | ||||
-rwxr-xr-x | scripts/unload.sh | 1 |
2 files changed, 1 insertions, 1 deletions
@@ -27,6 +27,7 @@ CONFIG_MAC80211=m ifeq ($(shell test -e $(KLIB_BUILD)/Makefile && echo yes),yes) KERNEL_SUBLEVEL = $(shell $(MAKE) -C $(KLIB_BUILD) kernelversion | sed -n 's/^2\.6\.\([0-9]\+\).*/\1/p') ifeq ($(shell test $(KERNEL_SUBLEVEL) -lt 23 && echo yes),yes) +$(error "ERROR: There is a bug with compat-wireless on 2.6.22. Remove me if you want to fix me") CONFIG_MAC80211_QOS=y else diff --git a/scripts/unload.sh b/scripts/unload.sh index 1424945..30cb1e3 100755 --- a/scripts/unload.sh +++ b/scripts/unload.sh @@ -23,7 +23,6 @@ MODULES="$MODULES rndis_wlan rndis_host cdc_ether usbnet" # eeprom_93cx6 is used by rt2x00 (rt61pci, rt2500pci, rt2400pci) # and Realtek drivers ( rtl8187, rtl8180) MODULES="$MODULES eeprom_93cx6" -MODULES="$MODULES led_class" MODULES="$MODULES mac80211 cfg80211" MADWIFI_MODULES="ath_pci ath_rate_sample wlan_scan_sta wlan ath_hal" IPW3945D="/sbin/ipw3945d-`uname -r`" |