summaryrefslogtreecommitdiffstats
path: root/if.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2014-09-10 01:46:58 +0000
committerRoy Marples <roy@marples.name>2014-09-10 01:46:58 +0000
commit67ed6c5fdc76fa237307750d84251de7857f7e99 (patch)
tree222a295dad91aa2076420b8403173728aa6ca711 /if.h
parent681c71eccec20e3977bd29e376fb325d843cb56e (diff)
downloaddhcpcd-67ed6c5fdc76fa237307750d84251de7857f7e99.tar.xz
Use the nl80211 interface on Linux to get the wireless SSID.
If this is not found in the system headers, fall back to assuming WEXT. This has been done because the WEXT module has been marked as deprecated for a while now and I'm getting bored of people asking me why their wireless wasn't working. Bloated dhcpcd by another 600 bytes as a result.
Diffstat (limited to 'if.h')
-rw-r--r--if.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/if.h b/if.h
index c829b7ea..4fcbab7a 100644
--- a/if.h
+++ b/if.h
@@ -103,7 +103,7 @@ int if_carrier(struct interface *);
/* The below functions are provided by if-KERNEL.c */
int if_conf(struct interface *);
int if_init(struct interface *);
-int if_getssid(const char *, char *);
+int if_getssid(struct interface *);
int if_vimaster(const char *);
int if_openlinksocket(void);
int if_managelink(struct dhcpcd_ctx *);