prevent a crash reported by Robert
This commit is contained in:
parent
caf05e22ea
commit
5e2b6b5582
|
@ -1175,7 +1175,8 @@ int WIFI_SoftAP_Init(wifimac_t *wifi)
|
||||||
|
|
||||||
void WIFI_SoftAP_Shutdown(wifimac_t *wifi)
|
void WIFI_SoftAP_Shutdown(wifimac_t *wifi)
|
||||||
{
|
{
|
||||||
PCAP::pcap_close(wifi->SoftAP.bridge);
|
if(wifi->SoftAP.bridge != NULL)
|
||||||
|
PCAP::pcap_close(wifi->SoftAP.bridge);
|
||||||
}
|
}
|
||||||
|
|
||||||
void WIFI_SoftAP_RecvPacketFromDS(wifimac_t *wifi, u8 *packet, int len)
|
void WIFI_SoftAP_RecvPacketFromDS(wifimac_t *wifi, u8 *packet, int len)
|
||||||
|
|
Loading…
Reference in New Issue