aboutsummaryrefslogtreecommitdiff
path: root/net/hostapd/files/patch-src_drivers_driver__bsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/hostapd/files/patch-src_drivers_driver__bsd.c')
-rw-r--r--net/hostapd/files/patch-src_drivers_driver__bsd.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/hostapd/files/patch-src_drivers_driver__bsd.c b/net/hostapd/files/patch-src_drivers_driver__bsd.c
new file mode 100644
index 000000000000..052fb6748296
--- /dev/null
+++ b/net/hostapd/files/patch-src_drivers_driver__bsd.c
@@ -0,0 +1,14 @@
+--- src/drivers/driver_bsd.c.orig 2015-09-27 19:02:05 UTC
++++ src/drivers/driver_bsd.c
+@@ -623,7 +623,11 @@ rtbuf_len(void)
+ static int bsd_sta_deauth(void *priv, const u8 *own_addr, const u8 *addr,
+ int reason_code);
+
++#ifdef __DragonFly__
++const char *
++#else
+ static const char *
++#endif
+ ether_sprintf(const u8 *addr)
+ {
+ static char buf[sizeof(MACSTR)];