iwlwifi: mvm: allow keeping connections in d3_test
authorEliad Peller <eliad@wizery.com>
Thu, 7 Nov 2013 12:13:30 +0000 (14:13 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 9 Dec 2013 20:29:03 +0000 (22:29 +0200)
commit78c9df66c8f1af8577df802f57ce4dbb877fee4b
tree713a3bc0fb5ca9bf68d22cb03dc33fbbb7c7959d
parentb87c2179a7d4f0d7d476df289c69cf9ebf8b7163
iwlwifi: mvm: allow keeping connections in d3_test

Keeping connection can be useful also when testing d3
using the debugfs file (d3_test).

Save the vif to keep connection on, and consider it
when iterating over the interfaces.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Reviewed-by: Luciano Coelho <luciano.coelho@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/d3.c
drivers/net/wireless/iwlwifi/mvm/mvm.h