wifi: Add wifi pointer NULL checks
[framework/connectivity/connman.git] / plugins / hh2serial-gps.c
index 245d1aa..20521b0 100644 (file)
@@ -2,7 +2,7 @@
  *
  *  hh2serial GPS
  *
- *  Copyright (C) 2007-2010  Intel Corporation. All rights reserved.
+ *  Copyright (C) 2007-2012  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
@@ -95,8 +95,6 @@ static int hh2serial_init(void)
        if (hh2serial_device == NULL)
                return -ENODEV;
 
-       connman_device_set_mode(hh2serial_device,
-                                       CONNMAN_DEVICE_MODE_NETWORK_SINGLE);
        connman_device_register(hh2serial_device);
 
        return 0;