• Johannes Berg's avatar
    iwlwifi: mvm: remove time-event start/end failure warning · bcd535eb
    Johannes Berg authored
    This warning is misleading. In many cases, for example P2P ROC time
    events, this will happen if the time event is aborted, for example
    due to a higher priority time event. This is entirely normal and not
    worth warning about.
    
    In other cases, where we actually do act upon this, for example when
    trying to connect and this fails, we should instead warn as part of
    the disconnect operation.
    
    Change the code to do that, i.e. make the warning a debug message,
    and make it more prominent (an error) when we actually disconnect
    because of it.
    
    This also fixes confusion in the logs - the warning was mistaken for
    something that needed investigation, while in most cases it's just
    expected behaviour that occasionally some lower-priority time events
    would not complete fully.
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
    bcd535eb
time-event.c 25.4 KB