diff options
Diffstat (limited to 'sta_dk_4_0_4_32/pform/linux/src/esta_drv.c')
-rw-r--r-- | sta_dk_4_0_4_32/pform/linux/src/esta_drv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sta_dk_4_0_4_32/pform/linux/src/esta_drv.c b/sta_dk_4_0_4_32/pform/linux/src/esta_drv.c index 3289b4b..32c8627 100644 --- a/sta_dk_4_0_4_32/pform/linux/src/esta_drv.c +++ b/sta_dk_4_0_4_32/pform/linux/src/esta_drv.c @@ -1092,6 +1092,9 @@ int tiwlan_send_wait_reply(tiwlan_net_dev_t *drv, unsigned long flags; /* Send request to tiwlan_tasklet and wait for reply */ + if (!drv->adapter.CoreHalCtx) { + return STATION_IS_NOT_RUNNING; + } req.drv = drv; req.u.req.f = f; |