wireless/bcm43xxx: skip WEP privacy
@@ -894,7 +894,9 @@ void bcmf_wl_scan_event_handler(FAR struct bcmf_dev_s *priv,
ie_offset += ie_buffer[ie_offset + 1] + 2;
}
- if (vaild_bss == false)
+ /* Check if AP is configured for WEP or unsupport privacy */
+
+ if ((vaild_bss && (bss->capability & DOT11_CAP_PRIVACY)) || !vaild_bss)
{
goto process_next_bss;
}
