iwlwifi: mvm: don't WARN when statistics are handled late
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 4 Mar 2014 08:28:23 +0000 (10:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Mar 2014 04:38:21 +0000 (21:38 -0700)
commit798610b539f631feef5af5bd713d197712e08ff1
tree5404b1abaa384e79b52841c921bc0c0b5d3a3d33
parenta191212af8f4895d6a40c9d53fa84e9ae575ecd0
iwlwifi: mvm: don't WARN when statistics are handled late

commit 1e9291996c4eedf79883f47ec635235e39d3d6cd upstream.

Since the statistics handler is asynchrous, it can very well
be that we will handle the statistics (hence the RSSI
fluctuation) when we already disassociated.
Don't WARN on this case.

This solves: https://bugzilla.redhat.com/show_bug.cgi?id=1071998

Fixes: 2b76ef13086f ("iwlwifi: mvm: implement reduced Tx power")
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/iwlwifi/mvm/bt-coex.c