From: Jonas Gorski Date: Sun, 23 Aug 2015 09:36:03 +0000 (+0000) Subject: mac80211: disable ipw2x00 for big endian targets X-Git-Tag: reboot~2203 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ecfd245133e9b5bf4c9f0bd827ba20125ab693a2;p=openwrt%2Fstaging%2Fxback.git mac80211: disable ipw2x00 for big endian targets The ipw2x00 drivers assume that the system they are running is little endian, and access everything in native byte order. When run on a big endian system, everything breaks apart. Since fixing this is non trivial on a first glance, disable them for big endian targets. Signed-off-by: Jonas Gorski SVN-Revision: 46708 --- diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index 6afef107cb..04dfd3b4ea 100644 --- a/package/kernel/mac80211/Makefile +++ b/package/kernel/mac80211/Makefile @@ -719,7 +719,7 @@ endef define KernelPackage/net-libipw $(call KernelPackage/mac80211/Default) TITLE:=libipw for ipw2100 and ipw2200 - DEPENDS:=@PCI_SUPPORT +kmod-crypto-core +kmod-crypto-arc4 +kmod-crypto-michael-mic +kmod-lib80211 +kmod-cfg80211 +@DRIVER_WEXT_SUPPORT + DEPENDS:=@PCI_SUPPORT +kmod-crypto-core +kmod-crypto-arc4 +kmod-crypto-michael-mic +kmod-lib80211 +kmod-cfg80211 +@DRIVER_WEXT_SUPPORT @!BIG_ENDIAN FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ipw2x00/libipw.ko AUTOLOAD:=$(call AutoProbe,libipw) endef