iwlwifi: mvm: set seqno also when no keys are set
authorLuciano Coelho <luciano.coelho@intel.com>
Tue, 19 Nov 2013 13:38:55 +0000 (15:38 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 25 Nov 2013 21:00:20 +0000 (23:00 +0200)
commitcfa88893709fbf27b62c6b0cf99c72265b9a21ca
tree4ff69261658301018bbf90a5a5eb17271b03efd0
parent6860bd15c23653123585a18e4dc7b760b6fec365
iwlwifi: mvm: set seqno also when no keys are set

In an open BSS, after suspend/resume, we don't set the last seqno
because the iwl_mvm_setup_connection_keep() returns too early.  This
happens because the check to see if we have any keys was returning
immediately, without setting seqno and seqno_valid.  Fix this.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/d3.c