compile ipw3945 on 2.6.18-2200

Kevin DeKorte kdekorte at gmail.com
Mon Oct 16 22:46:06 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I ran into a little problem compiling ipw3945-1.1.0 on the new 220 kernel..

This patch makes it compile

- --------------------------------

- --- Makefile.orig       2006-10-16 16:42:31.000000000 -0600
+++ Makefile    2006-10-16 16:38:45.000000000 -0600
@@ -93,7 +93,8 @@
        IEEE80211_API := $(shell [[ "$(IEEE80211_VER)" == 1.1.14* ]] && \
                { echo "2" ; } || \
                { ver=$(IEEE80211_VER); ver=$${ver\#*.} ; echo
$${ver%.*} ; })
- -       EXTRA_CFLAGS += -DIEEE80211_API_VERSION=$(IEEE80211_API)
+       # EXTRA_CFLAGS += -DIEEE80211_API_VERSION=$(IEEE80211_API)
+       EXTRA_CFLAGS += -DIEEE80211_API_VERSION=2
 endif

 ifeq ($(CONFIG_IPW3945_DEBUG),y)

- ------------------------------

Basically the drivers think v2 of the ieee80211 interface starts with
1.1.14 and in the fedora kernel they start with 1.1.13 I guess... Anyway
it works.

Kevin

- --
Get my public GnuPG key from
http://keyserver.veridis.com:11371/export?id=-1509369771935935023
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFFNAut6w2kMH0L1dERAhVZAJsGZXaEnrhCS3OFTDOC/qgwVcb76wCfUdc0
YW9QpMI0ui23gwMwetluREs=
=IkWT
-----END PGP SIGNATURE-----




More information about the fedora-test-list mailing list