diff -ur ipw3945-1.1.0-pre2.orig/Makefile ipw3945-1.1.0-pre2/Makefile --- ipw3945-1.1.0-pre2.orig/Makefile 2006-06-24 01:35:00.000000000 +0200 +++ ipw3945-1.1.0-pre2/Makefile 2006-07-29 01:33:11.000000000 +0200 @@ -90,7 +90,7 @@ IEEE80211_API := $(shell sed -ne "s:\#define.*IEEE80211_API_VERSION[^0-9]*\([0-9]*\).*:\1:p" $(IEEE80211_PATH)net/ieee80211.h) ifeq ($(IEEE80211_API),) - IEEE80211_API := $(shell [[ "$(IEEE80211_VER)" == 1.1.14* ]] && \ + IEEE80211_API := $(shell [[ "$(IEEE80211_VER)" == *1.1.1* ]] && \ { echo "2" ; } || \ { ver=$(IEEE80211_VER); ver=$${ver\#*.} ; echo $${ver%.*} ; }) EXTRA_CFLAGS += -DIEEE80211_API_VERSION=$(IEEE80211_API)