iwlwifi: disable AP mode
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 1 Dec 2008 17:50:27 +0000 (18:50 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 5 Dec 2008 14:35:47 +0000 (09:35 -0500)
commit33fd8195529d74c0fe23cddd1c76fe7e03bbd324
tree9d34103a0529e436284b0dab4e8d51ea7d9e7883
parentc91276592695e13d1b52eab572551017cbf96ee7
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>
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl3945-base.c