mirror of https://gitee.com/openkylin/linux.git
[PATCH] libertas: Avoid MESH_AUTOSTARTED spam on console
Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
8ff12da121
commit
9cdc6d295b
|
@ -1007,13 +1007,13 @@ int libertas_process_event(wlan_private * priv)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MACREG_INT_CODE_MESH_AUTO_STARTED:
|
case MACREG_INT_CODE_MESH_AUTO_STARTED:
|
||||||
lbs_pr_alert("EVENT: MESH_AUTO_STARTED\n");
|
lbs_pr_info("EVENT: MESH_AUTO_STARTED\n");
|
||||||
adapter->connect_status = LIBERTAS_CONNECTED ;
|
adapter->connect_status = LIBERTAS_CONNECTED;
|
||||||
if (priv->mesh_open == 1) {
|
if (priv->mesh_open == 1) {
|
||||||
netif_wake_queue(priv->mesh_dev) ;
|
netif_wake_queue(priv->mesh_dev);
|
||||||
netif_carrier_on(priv->mesh_dev) ;
|
netif_carrier_on(priv->mesh_dev);
|
||||||
}
|
}
|
||||||
adapter->mode = IW_MODE_ADHOC ;
|
adapter->mode = IW_MODE_ADHOC;
|
||||||
schedule_work(&priv->sync_channel);
|
schedule_work(&priv->sync_channel);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue