iwlagn: do not check for AP mode for WEP keys
authorJohannes Berg <johannes.berg@intel.com>
Wed, 18 Aug 2010 16:35:21 +0000 (09:35 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Aug 2010 20:32:05 +0000 (16:32 -0400)
commit54c8067a4a0606f466faf0f30b16684b00060e70
treef499545f4e9355e0ed1886336ce9544cbec599cc
parent21cb987914cb5334af78378141efed77505ea987
iwlagn: do not check for AP mode for WEP keys

Even when we configure WEP keys in AP mode
ones without a station pointer are default
keys, so don't check for AP mode here.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c