aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/cmdresp.c
diff options
context:
space:
mode:
authorLuis Carlos Cobo Rus <luisca@cozybit.com>2007-05-25 23:12:19 -0400
committerJohn W. Linville <linville@tuxdriver.com>2007-06-11 14:28:45 -0400
commit7d8d28b31d16875f868889264efbba1f6c516860 (patch)
tree2386f11d83b78bd93f9fdb2258abe8e986d1799d /drivers/net/wireless/libertas/cmdresp.c
parentf5e05b697d2105e5c3f9d837046a8c33ee5b7e14 (diff)
[PATCH] libertas: support for mesh autostart on firmware 5.220.11
Signed-off-by: Luis Carlos Cobo Rus <luisca@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/cmdresp.c')
-rw-r--r--drivers/net/wireless/libertas/cmdresp.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/cmdresp.c b/drivers/net/wireless/libertas/cmdresp.c
index c0c04711196f..3b069341f35f 100644
--- a/drivers/net/wireless/libertas/cmdresp.c
+++ b/drivers/net/wireless/libertas/cmdresp.c
@@ -1009,6 +1009,16 @@ int libertas_process_event(wlan_private * priv)
1009 lbs_pr_alert( "EVENT: SNR_HIGH\n"); 1009 lbs_pr_alert( "EVENT: SNR_HIGH\n");
1010 break; 1010 break;
1011 1011
1012 case MACREG_INT_CODE_MESH_AUTO_STARTED:
1013 lbs_pr_alert( "EVENT: MESH_AUTO_STARTED\n");
1014 adapter->connect_status = libertas_connected ;
1015 if (priv->mesh_open == 1) {
1016 netif_wake_queue(priv->mesh_dev) ;
1017 netif_carrier_on(priv->mesh_dev) ;
1018 }
1019 adapter->mode = IW_MODE_ADHOC ;
1020 break;
1021
1012 default: 1022 default:
1013 lbs_pr_alert( "EVENT: unknown event id: %#x\n", 1023 lbs_pr_alert( "EVENT: unknown event id: %#x\n",
1014 eventcause >> SBI_EVENT_CAUSE_SHIFT); 1024 eventcause >> SBI_EVENT_CAUSE_SHIFT);