diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2011-06-16 09:44:52 +0200 |
---|---|---|
committer | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2011-06-16 15:26:11 +0200 |
commit | ea8124883725a6b4b6806e79213c04c46438cf9f (patch) | |
tree | ef5a528086b94c8ace5ff5da1d3b2c9239cc20c7 | |
parent | a84f639fbdaa4a135ca0bcdee73afcba6caca512 (diff) | |
download | connman-ea8124883725a6b4b6806e79213c04c46438cf9f.tar.gz connman-ea8124883725a6b4b6806e79213c04c46438cf9f.tar.bz2 connman-ea8124883725a6b4b6806e79213c04c46438cf9f.zip |
wifi: Whitespace cleanup
-rw-r--r-- | plugins/wifi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c index 119f7c7f..127b7315 100644 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -361,7 +361,7 @@ static void ssid_init(GSupplicantSSID *ssid, struct connman_network *network) "WiFi.Passphrase"); if (passphrase == NULL || strlen(passphrase) == 0) ssid->passphrase = NULL; - else + else ssid->passphrase = passphrase; ssid->eap = connman_network_get_string(network, "WiFi.EAP"); @@ -526,7 +526,7 @@ static void interface_added(GSupplicantInterface *interface) if (wifi->tethering == TRUE) return; - + wifi_scan(wifi->device); } @@ -883,11 +883,11 @@ static GSupplicantSSID *ssid_ap_init(const char *ssid, const char *passphrase) ap->security = G_SUPPLICANT_SECURITY_NONE; ap->passphrase = NULL; } else { - ap->security = G_SUPPLICANT_SECURITY_PSK; + ap->security = G_SUPPLICANT_SECURITY_PSK; ap->protocol = G_SUPPLICANT_PROTO_RSN; ap->pairwise_cipher = G_SUPPLICANT_PAIRWISE_CCMP; ap->group_cipher = G_SUPPLICANT_GROUP_CCMP; - ap->passphrase = passphrase; + ap->passphrase = passphrase; } return ap; |