• Johannes Berg's avatar
    wifi: mac80211: fix SMPS status handling · e3640a82
    Johannes Berg authored
    The current SMPS status handling isn't per link, so we only
    ever change the deflink, which is obviously wrong, it's not
    even used for multi-link connections, but the request API
    actually includes the link ID.
    
    Use the new status_data changes to move the handling to the
    right link, this also saves parsing the frame again on the
    status report, instead we can now check only if it was an
    SMPS frame.
    
    Of course, move the worker to be a wiphy work so that we're
    able to cancel it safely for the link.
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    e3640a82
ht.c 18.1 KB