]> git.baikalelectronics.ru Git - 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)
commit6abb565896df1e0ae86b9e7b6f3f4ccf3e6cfb76
treea1004b66d0b7cc6d158fe135b7c4fa0cf77158ec
parent091fe32776b25e235355f42de133b7e2bcba5c6e
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