• Loic Poulain's avatar
    wcn36xx: Fix WEP encryption · 216da128
    Loic Poulain authored
    In case of WEP encryption, driver has to configure shared key for
    associated station(s). Note that sta pointer is NULL in case of non
    pairwise key, causing NULL pointer dereference with existing code
    (sta_priv->is_data_encrypted). Fix this by using associated sta list
    instead. This enables WEP support as client, WEP AP is non-functional.
    Signed-off-by: default avatarLoic Poulain <loic.poulain@linaro.org>
    Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
    216da128
main.c 36.9 KB