]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
iwlwifi: mvm: don't WARN about unsuccessful time event
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 5 Nov 2013 14:27:59 +0000 (16:27 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 25 Nov 2013 21:00:20 +0000 (23:00 +0200)
commit9fc3fe96c36ca26f1cf028ded9ee41c47d9e9d4a
treea1004b66d0b7cc6d158fe135b7c4fa0cf77158ec
parent56c07a9c95afa93c089824cb02bf4133ca4eb180
iwlwifi: mvm: don't WARN about unsuccessful time event

Time event notification can have a failure status even if
the time event was scheduled:
* in START notification, this can happen if the time event
  was scheduled later than the requested apply time.
* in STOP notification, this can happen if the time event
  is truncated.

Even if both happened, the offchannel packets sent during
the remain on channel are very likely to have been sent.
Hence, don't WARN when this happens, but rather print a
discrete line in the kernel log.

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