int connman_inet_ifdown(int index);
struct connman_device *connman_inet_create_device(int index);
-connman_bool_t connman_inet_is_mac80211(int index);
+connman_bool_t connman_inet_is_cfg80211(int index);
int connman_inet_set_address(int index, struct connman_ipaddress *ipaddress);
int connman_inet_clear_address(int index);
struct supplicant_task {
int ifindex;
char *ifname;
- gboolean mac80211;
+ gboolean cfg80211;
struct connman_device *device;
struct connman_network *network;
struct connman_network *pending_network;
const char *auth_alg = "OPEN";
const char *key_index = "0";
- if (task->mac80211 == TRUE)
+ if (task->cfg80211 == TRUE)
auth_alg = "OPEN SHARED";
connman_dbus_dict_append_basic(&dict, "auth_alg",
goto failed;
}
- task->mac80211 = connman_inet_is_mac80211(task->ifindex);
- if (task->mac80211 == FALSE)
+ task->cfg80211 = connman_inet_is_cfg80211(task->ifindex);
+ if (task->cfg80211 == FALSE)
connman_warn("Enabling quirks for unsupported driver");
task->range = g_try_malloc0(sizeof(struct iw_range));
return str;
}
-connman_bool_t connman_inet_is_mac80211(int index)
+connman_bool_t connman_inet_is_cfg80211(int index)
{
connman_bool_t result = FALSE;
char phy80211_path[PATH_MAX];