For some reason I had removed wext-compat, add it back
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 8 Jul 2009 23:38:53 +0000 (16:38 -0700)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 8 Jul 2009 23:38:53 +0000 (16:38 -0700)
cfg80211-$(CONFIG_WIRELESS_EXT) += wext-compat.o wext-sme.o

we depend on your kernel's CONFIG_WIRELESS_EXT for this.

This should fix what users report as:

00:32 < Sticky__>  hmm, now getting errors on "modprobe ath5k": "WARNING: Error inserting ath
(/lib/modules/2.6.28-13-generic/updates/drivers/net/wireless/ath/ath.ko): Unknown symbol in module, or
unknown parameter (see dmesg)"
00:32 < Sticky__> and from dmesg: [ 2245.275139] cfg80211: Unknown symbol cfg80211_wext_freq

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
compat/compat.diff

index edfabf6a515d88d702e63a2df6d4a2b77ea2d7ae..bf001e18ee5570dd0c3f5db61d05d09c0a039320 100644 (file)
        net->watchdog_timeo = TX_TIMEOUT_JIFFIES;
        net->ethtool_ops = &usbnet_ethtool_ops;
  
---- a/net/wireless/Makefile    2009-07-06 18:47:30.510225526 -0700
-+++ b/net/wireless/Makefile    2009-07-06 18:47:31.619237712 -0700
-@@ -7,6 +7,12 @@
- cfg80211-y += core.o sysfs.o radiotap.o util.o reg.o scan.o nl80211.o mlme.o ibss.o sme.o
- cfg80211-$(CONFIG_CFG80211_DEBUGFS) += debugfs.o
--cfg80211-$(CONFIG_WIRELESS_EXT) += wext-compat.o wext-sme.o
+--- a/net/wireless/Makefile    2009-07-08 16:35:31.392259166 -0700
++++ b/net/wireless/Makefile    2009-07-08 16:35:56.036284948 -0700
+@@ -10,3 +10,10 @@
+ cfg80211-$(CONFIG_WIRELESS_EXT) += wext-compat.o wext-sme.o
  
  ccflags-y += -D__CHECK_ENDIAN__
 +# Compat-wireless kernel compatibility code