• Johannes Berg's avatar
    mac80211: mlme: track assoc_bss/associated separately · 5dfad108
    Johannes Berg authored
    We currently track whether we're associated and which the
    BSS is in the same variable (ifmgd->associated), but for
    MLD we'll need to move the BSS pointer to be per link,
    while the question whether we're associated or not is for
    the whole interface.
    
    Add ifmgd->assoc_bss that stores the pointer and change
    ifmgd->associated to be just a bool, so the question of
    whether we're associated can continue working after MLD
    rework, without requiring changes, while the BSS pointer
    will have to be changed/used checked per link.
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    5dfad108
mlme.c 186 KB