summaryrefslogtreecommitdiff
path: root/package/hostapd/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-23 15:12:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-23 15:12:57 +0000
commit8499c45a7355570239f1d54b05803f42a8989644 (patch)
tree802cde3aa3646a7e9f9df8edbbfe92eb135b9aa5 /package/hostapd/patches
parent8e07eba864fc7b82f530cdb46f84ee68977df5e7 (diff)
downloadmtk-20170518-8499c45a7355570239f1d54b05803f42a8989644.zip
mtk-20170518-8499c45a7355570239f1d54b05803f42a8989644.tar.gz
mtk-20170518-8499c45a7355570239f1d54b05803f42a8989644.tar.bz2
hostapd: fix compile error in the roboswitch driver
SVN-Revision: 19290
Diffstat (limited to 'package/hostapd/patches')
-rw-r--r--package/hostapd/patches/340-roboswitch_fix.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/hostapd/patches/340-roboswitch_fix.patch b/package/hostapd/patches/340-roboswitch_fix.patch
new file mode 100644
index 0000000..50dca64
--- /dev/null
+++ b/package/hostapd/patches/340-roboswitch_fix.patch
@@ -0,0 +1,14 @@
+--- a/src/drivers/driver_roboswitch.c
++++ b/src/drivers/driver_roboswitch.c
+@@ -14,10 +14,10 @@
+
+ #include "includes.h"
+ #include <sys/ioctl.h>
+-#include <linux/if.h>
+ #include <linux/sockios.h>
+ #include <linux/if_ether.h>
+ #include <linux/mii.h>
++#include <net/if.h>
+
+ #include "common.h"
+ #include "driver.h"