mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-12-01 11:48:23 -05:00
wext: Verify set_ssid results consistently (CID 62842)
Note in debug log if SSID clearing to stop pending cfg80211 association attempts fail. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
f62415df8a
commit
ac79fcfa76
@ -2027,7 +2027,11 @@ int wpa_driver_wext_associate(void *priv,
|
|||||||
* Stop cfg80211 from trying to associate before we are done
|
* Stop cfg80211 from trying to associate before we are done
|
||||||
* with all parameters.
|
* with all parameters.
|
||||||
*/
|
*/
|
||||||
wpa_driver_wext_set_ssid(drv, (u8 *) "", 0);
|
if (wpa_driver_wext_set_ssid(drv, (u8 *) "", 0) < 0) {
|
||||||
|
wpa_printf(MSG_DEBUG,
|
||||||
|
"WEXT: Failed to clear SSID to stop pending cfg80211 association attempts (if any)");
|
||||||
|
/* continue anyway */
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wpa_driver_wext_set_drop_unencrypted(drv, params->drop_unencrypted)
|
if (wpa_driver_wext_set_drop_unencrypted(drv, params->drop_unencrypted)
|
||||||
|
Loading…
Reference in New Issue
Block a user