diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-12-01 12:50:27 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-12-05 09:35:47 -0500 |
commit | 33fd8195529d74c0fe23cddd1c76fe7e03bbd324 (patch) | |
tree | 9d34103a0529e436284b0dab4e8d51ea7d9e7883 /drivers/net | |
parent | c91276592695e13d1b52eab572551017cbf96ee7 (diff) |
iwlwifi: disable AP mode
iwlwifi does not support AP mode in any way. For one, it doesn't even
buffer multicast/broadcast frames properly. We didn't allow zd1211rw AP
mode to be enabled without this, so iwlwifi shouldn't be allowed to
advertise AP mode either.
It also doesn't work at all, it doesn't even answer to probe requests,
I'm guessing the packet injection code was disabled again.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index 6aa332bebc5..0980f217a94 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c | |||
@@ -808,7 +808,6 @@ int iwl_setup_mac(struct iwl_priv *priv) | |||
808 | IEEE80211_HW_NOISE_DBM | | 808 | IEEE80211_HW_NOISE_DBM | |
809 | IEEE80211_HW_AMPDU_AGGREGATION; | 809 | IEEE80211_HW_AMPDU_AGGREGATION; |
810 | hw->wiphy->interface_modes = | 810 | hw->wiphy->interface_modes = |
811 | BIT(NL80211_IFTYPE_AP) | | ||
812 | BIT(NL80211_IFTYPE_STATION) | | 811 | BIT(NL80211_IFTYPE_STATION) | |
813 | BIT(NL80211_IFTYPE_ADHOC); | 812 | BIT(NL80211_IFTYPE_ADHOC); |
814 | 813 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 94ea4c23683..1d4658acba9 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -7814,7 +7814,6 @@ static int iwl3945_pci_probe(struct pci_dev *pdev, const struct pci_device_id *e | |||
7814 | IEEE80211_HW_NOISE_DBM; | 7814 | IEEE80211_HW_NOISE_DBM; |
7815 | 7815 | ||
7816 | hw->wiphy->interface_modes = | 7816 | hw->wiphy->interface_modes = |
7817 | BIT(NL80211_IFTYPE_AP) | | ||
7818 | BIT(NL80211_IFTYPE_STATION) | | 7817 | BIT(NL80211_IFTYPE_STATION) | |
7819 | BIT(NL80211_IFTYPE_ADHOC); | 7818 | BIT(NL80211_IFTYPE_ADHOC); |
7820 | 7819 | ||