Skip to content

Commit

Permalink
cfg80211: fix Kconfig for users of cfg80211
Browse files Browse the repository at this point in the history
 * iwm doesn't depend on cfg80211 or wireless extensions
 * rndis wlan selects cfg80211 - needs to depend
 * mac80211 selects cfg80211 - needs to depend

Signed-off-by: Johannes Berg <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
  • Loading branch information
jmberg authored and linvjw committed Jun 3, 2009
1 parent f71fea2 commit 0aa8204
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/net/wireless/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -333,11 +333,11 @@ config USB_ZD1201
config USB_NET_RNDIS_WLAN
tristate "Wireless RNDIS USB support"
depends on USB && WLAN_80211 && EXPERIMENTAL
depends on CFG80211
select USB_USBNET
select USB_NET_CDCETHER
select USB_NET_RNDIS_HOST
select WIRELESS_EXT
select CFG80211
---help---
This is a driver for wireless RNDIS devices.
These are USB based adapters found in devices such as:
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/wireless/iwmc3200wifi/Kconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
config IWM
tristate "Intel Wireless Multicomm 3200 WiFi driver"
depends on MMC && WLAN_80211 && EXPERIMENTAL
depends on CFG80211
select WIRELESS_EXT
select CFG80211
select FW_LOADER

config IWM_DEBUG
Expand Down
5 changes: 4 additions & 1 deletion net/mac80211/Kconfig
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
config MAC80211
tristate "Generic IEEE 802.11 Networking Stack (mac80211)"
depends on CFG80211
select CRYPTO
select CRYPTO_ECB
select CRYPTO_ARC4
select CRYPTO_AES
select CRC32
select WIRELESS_EXT
select CFG80211
---help---
This option enables the hardware independent IEEE 802.11
networking stack.

comment "CFG80211 needs to be enabled for MAC80211"
depends on CFG80211=n

config MAC80211_DEFAULT_PS
bool "enable powersave by default"
depends on MAC80211
Expand Down

0 comments on commit 0aa8204

Please sign in to comment.