From a3a33db40921494901b18f535104c98dd7a7216a Mon Sep 17 00:00:00 2001 From: danicampora Date: Thu, 22 Oct 2015 22:57:45 +0200 Subject: [PATCH] cc3200: Enable WLAN irq on creation. --- cc3200/mods/modwlan.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cc3200/mods/modwlan.c b/cc3200/mods/modwlan.c index 920b0d4729..05f693537d 100644 --- a/cc3200/mods/modwlan.c +++ b/cc3200/mods/modwlan.c @@ -1187,6 +1187,9 @@ STATIC mp_obj_t wlan_irq (mp_uint_t n_args, const mp_obj_t *pos_args, mp_map_t * mp_obj_t _irq = mp_irq_new (self, args[2].u_obj, &wlan_irq_methods); self->irq_obj = _irq; + // enable the irq just before leaving + wlan_lpds_irq_enable(self); + return _irq; invalid_args: