• Johannes Berg's avatar
    iwlwifi: mvm: don't warn in queue sync on RF-kill · 6ad04359
    Johannes Berg authored
    If we happen to be in or get into the queue sync when RF-kill
    is asserted, we return from there and warn since there are
    still queue sync notifications outstanding. These can't ever
    come though, because we're in RF-kill, so don't WARN then.
    
    While at it, also move the warning to the appropriate place,
    if the request is not synchronous then we shouldn't warn, but
    currently always will.
    
    To make it fast, also trigger the waitq when on rfkill assert.
    
    Fixes: 0636b938 ("iwlwifi: mvm: implement driver RX queues sync command")
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
    6ad04359
ops.c 50.9 KB