• J
    mac80211: Do not try to associate with an empty SSID · 68f2d026
    Jouni Malinen 提交于
    It looks like some programs (e.g., NM) are setting an empty SSID with
    SIOCSIWESSID in some cases. This seems to trigger mac80211 to try to
    associate with an invalid configuration (wildcard SSID) which will
    result in failing associations (or odd issues, potentially including
    kernel panic with some drivers) if the AP were to actually accept this
    anyway).
    
    Only start association process if the SSID is actually set. This
    speeds up connection with NM in number of cases and avoids sending out
    broken association request frames.
    Signed-off-by: NJouni Malinen <jouni.malinen@atheros.com>
    Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
    68f2d026
mlme.c 71.9 KB