iwlwifi: mvm: don't WARN when statistics are handled late
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sat, 22 Mar 2014 19:35:43 +0000 (21:35 +0200)
committerJiri Slaby <jslaby@suse.cz>
Wed, 26 Mar 2014 08:42:59 +0000 (09:42 +0100)
commit3d316682dc951d54ac0c9927968fdfe372d47c37
tree23d1be43e63e11b7266a8c5ef307768fc481c297
parent46a55da12372398dd62629186c13b5ae619f912d
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

Cc: <stable@vger.kernel.org> [3.10+]
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: Jiri Slaby <jslaby@suse.cz>
drivers/net/wireless/iwlwifi/mvm/bt-coex.c