Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

solve the reset issue by return error if the WINC driver is closed #2334

Merged
merged 1 commit into from
Aug 10, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,9 @@ uint32_t WDRV_EXT_DataSend(uint16_t segSize, uint8_t *p_segData)
{
int8_t ret;

if (!s_isInitComplete)
return WDRV_ERROR;

if (gp_wdrv_cfg->networkType == WDRV_NETWORK_TYPE_SOFT_AP)
{
ret = wilc1000_eth_data_send(p_segData, segSize, AP_INTERFACE);
Expand Down