aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2013-06-19 21:29:34 +0000
committerHauke Mehrtens <hauke@openwrt.org>2013-06-19 21:29:34 +0000
commit5a1584f8d9fb31f0700ba3dec0cb728c8c5b65e9 (patch)
treea59579788b8e9c12f7639e5e8d752ac81ffe719c
parentae618e0e3e22ade6a70957f1d9f1acfb41d5c095 (diff)
downloadupstream-5a1584f8d9fb31f0700ba3dec0cb728c8c5b65e9.tar.gz
upstream-5a1584f8d9fb31f0700ba3dec0cb728c8c5b65e9.tar.bz2
upstream-5a1584f8d9fb31f0700ba3dec0cb728c8c5b65e9.zip
mac80211: do not build RT2X00_LIB_XXX when XXX is not available in the kernel.
It was possible to select RT2X00_LIB_PCI without PCI being selected. This closes #13720 mrkiko thanks for testing. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36972 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/mac80211/patches/030-rt2x00_options.patch5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/mac80211/patches/030-rt2x00_options.patch b/package/mac80211/patches/030-rt2x00_options.patch
index ed8e1b69ab..789a77ab12 100644
--- a/package/mac80211/patches/030-rt2x00_options.patch
+++ b/package/mac80211/patches/030-rt2x00_options.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/wireless/rt2x00/Kconfig
+++ b/drivers/net/wireless/rt2x00/Kconfig
-@@ -202,25 +202,25 @@ config RT2800USB_UNKNOWN
+@@ -202,25 +202,28 @@ config RT2800USB_UNKNOWN
endif
config RT2800_LIB
@@ -16,18 +16,21 @@
config RT2X00_LIB_PCI
- tristate
+ tristate "RT2x00 PCI support"
++ depends on PCI
depends on m
select RT2X00_LIB
config RT2X00_LIB_SOC
- tristate
+ tristate "RT2x00 SoC support"
++ depends on SOC_RT288X || SOC_RT305X
depends on m
select RT2X00_LIB
config RT2X00_LIB_USB
- tristate
+ tristate "RT2x00 USB support"
++ depends on USB
depends on m
select RT2X00_LIB