• Jouni Malinen's avatar
    ath6kl: Fix BSS update on roaming · 01cac476
    Jouni Malinen authored
    This fixes the BSS "update" just before the connected or roamed event.
    The previous implementation was completely broken: it forced a hardcoded
    signal strength and IEs from Association _Request_ frame instead of any
    Beacon information. This broke various things, including PMKSA caching.
    
    The current workaround for creating a dummy BSS entry before the roamed
    event is not exactly ideal, but that is quite a bit better than the
    previous state. As a future improvement, cfg80211 could potentially be
    extended to allow this type of use or ath6kl could delay sending the
    roamed event before receiving a BSS info event.
    Signed-off-by: default avatarJouni Malinen <jouni@qca.qualcomm.com>
    Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
    01cac476
cfg80211.c 49.1 KB