mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
hostapd: fix compile error in the roboswitch driver
SVN-Revision: 19290
This commit is contained in:
parent
8e07eba864
commit
8499c45a73
@ -54,7 +54,6 @@ DRIVER_MAKEOPTS= \
|
||||
CONFIG_DRIVER_NL80211=$(CONFIG_PACKAGE_kmod-mac80211) \
|
||||
CONFIG_DRIVER_MADWIFI=$(CONFIG_PACKAGE_kmod-madwifi) \
|
||||
CONFIG_DRIVER_HOSTAP=$(CONFIG_PACKAGE_kmod-hostap) \
|
||||
CONFIG_DRIVER_ROBOSWITCH=$(CONFIG_PACKAGE_kmod-switch) \
|
||||
CONFIG_IEEE80211N=$(CONFIG_PACKAGE_kmod-ath9k)
|
||||
|
||||
ifeq ($(LOCAL_TYPE),supplicant)
|
||||
@ -66,6 +65,8 @@ endif
|
||||
ifneq ($(LOCAL_TYPE),hostapd)
|
||||
ifdef CONFIG_WPA_SUPPLICANT_NO_TIMESTAMP_CHECK
|
||||
TARGET_CFLAGS += -DNO_TIMESTAMP_CHECK
|
||||
DRIVER_MAKEOPTS += \
|
||||
CONFIG_DRIVER_ROBOSWITCH=$(CONFIG_PACKAGE_kmod-switch)
|
||||
endif
|
||||
endif
|
||||
|
||||
|
14
package/hostapd/patches/340-roboswitch_fix.patch
Normal file
14
package/hostapd/patches/340-roboswitch_fix.patch
Normal file
@ -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"
|
Loading…
Reference in New Issue
Block a user