• Dan Williams's avatar
    [PATCH] libertas: make association paths consistent · e76850d6
    Dan Williams authored
    The BSS to associate with (in either Infrastructure or IBSS join
    operations) is now stored in _one_ place in the association request (the
    bss member), not two places as before (pattemptedbss and
    curbssparams->bssdescriptor).
    
    Association requests are passed to the necessary association functions
    to (a) give them access to the bss member and (b) ensure that
    association/join/start setup uses settings from the request, not the
    current adapter settings (which may not be valid for the requested
    settings).
    
    Because the 'bss' member of the association request is used now, the
    command return functions from associate and adhoc join/start need access
    to the in-progress association request to update curbssparams when
    everything is done.  The association worker moves the request from
    pending to in-progress for the duration of the association attempt.
    Signed-off-by: default avatarDan Williams <dcbw@redhat.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    e76850d6
assoc.c 19 KB