Add option for selecting WiFi/Supplicant driver from command line
[connman] / plugins / hso.c
index 98708dd..21df00d 100644 (file)
@@ -2,7 +2,7 @@
  *
  *  Connection Manager
  *
- *  Copyright (C) 2007-2008  Intel Corporation. All rights reserved.
+ *  Copyright (C) 2007-2009  Intel Corporation. All rights reserved.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License version 2 as
@@ -211,7 +211,7 @@ static int hso_disable(struct connman_device *device)
 }
 
 static struct connman_device_driver hso_driver = {
-       .name           = "hso-device",
+       .name           = "hso",
        .type           = CONNMAN_DEVICE_TYPE_HSO,
        .probe          = hso_probe,
        .remove         = hso_remove,
@@ -243,4 +243,4 @@ static void hso_exit(void)
 }
 
 CONNMAN_PLUGIN_DEFINE(hso, "Option HSO device plugin", VERSION,
-                                               hso_init, hso_exit)
+               CONNMAN_PLUGIN_PRIORITY_DEFAULT, hso_init, hso_exit)