• Reinette Chatre's avatar
    mac80211: fix ibss joining · d419b9f0
    Reinette Chatre authored
    Recent commit "mac80211: fix logic error ibss merge bssid check" fixed
    joining of ibss cell when static bssid is provided. In this case
    ifibss->bssid is set before the cell is joined and comparing that address
    to a bss should thus always succeed. Unfortunately this change broke the
    other case of joining a ibss cell without providing a static bssid where
    the value of ifibss->bssid is not set before the cell is joined.
    
    Since ifibss->bssid may be set before or after joining the cell we do not
    learn anything by comparing it to a known bss. Remove this check.
    Signed-off-by: default avatarReinette Chatre <reinette.chatre@intel.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    d419b9f0
ibss.c 25.5 KB