diff options
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/libertas/cmdresp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/cmdresp.c b/drivers/net/wireless/libertas/cmdresp.c index 93bf63bad0f6..c43b2725e5bc 100644 --- a/drivers/net/wireless/libertas/cmdresp.c +++ b/drivers/net/wireless/libertas/cmdresp.c | |||
@@ -968,6 +968,11 @@ int libertas_process_event(wlan_private * priv) | |||
968 | break; | 968 | break; |
969 | 969 | ||
970 | case MACREG_INT_CODE_MESH_AUTO_STARTED: | 970 | case MACREG_INT_CODE_MESH_AUTO_STARTED: |
971 | /* Ignore spurious autostart events if autostart is disabled */ | ||
972 | if (!priv->mesh_autostart_enabled) { | ||
973 | lbs_pr_info("EVENT: MESH_AUTO_STARTED (ignoring)\n"); | ||
974 | break; | ||
975 | } | ||
971 | lbs_pr_info("EVENT: MESH_AUTO_STARTED\n"); | 976 | lbs_pr_info("EVENT: MESH_AUTO_STARTED\n"); |
972 | adapter->connect_status = LIBERTAS_CONNECTED; | 977 | adapter->connect_status = LIBERTAS_CONNECTED; |
973 | if (priv->mesh_open == 1) { | 978 | if (priv->mesh_open == 1) { |