[PATCH] libertas: Avoid MESH_AUTOSTARTED spam on console
authorLuis Carlos Cobo <luisca@cozybit.com>
Thu, 2 Aug 2007 15:55:22 +0000 (11:55 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:49:55 +0000 (16:49 -0700)
Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cmdresp.c

index 197d0451784056a873ed5fe0a79725b0608112f8..bf672f51f16310f29f53fddd186fcf79c0576657 100644 (file)
@@ -1007,13 +1007,13 @@ int libertas_process_event(wlan_private * priv)
                break;
 
        case MACREG_INT_CODE_MESH_AUTO_STARTED:
-               lbs_pr_alert("EVENT: MESH_AUTO_STARTED\n");
-               adapter->connect_status = LIBERTAS_CONNECTED ;
+               lbs_pr_info("EVENT: MESH_AUTO_STARTED\n");
+               adapter->connect_status = LIBERTAS_CONNECTED;
                if (priv->mesh_open == 1) {
-                       netif_wake_queue(priv->mesh_dev) ;
-                       netif_carrier_on(priv->mesh_dev) ;
+                       netif_wake_queue(priv->mesh_dev);
+                       netif_carrier_on(priv->mesh_dev);
                }
-               adapter->mode = IW_MODE_ADHOC ;
+               adapter->mode = IW_MODE_ADHOC;
                schedule_work(&priv->sync_channel);
                break;