iwlwifi: mvm: suppress key error messages in AP mode
authorJohannes Berg <johannes.berg@intel.com>
Wed, 6 Mar 2013 12:15:21 +0000 (13:15 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 20 Mar 2013 11:02:12 +0000 (12:02 +0100)
commit6caffd4f9d11cbd9651d93a511ac385ce84aab83
tree2605745846dcc8c4d3e8a389ce264efa715ab9c5
parentb9545b48ff4c725ea71f1d9fd9b78da08ddd6551
iwlwifi: mvm: suppress key error messages in AP mode

In AP mode, don't attempt to program GTKs into the
device, they're used for TX only so not needed and
programming them causes error messages. Also, in
this case and if key programming fails, avoid trying
to remove the key that isn't present later.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c