diff options
author | Roman Yeryomin <roman@advem.lv> | 2012-09-13 00:40:35 +0300 |
---|---|---|
committer | Roman Yeryomin <roman@advem.lv> | 2012-12-03 00:13:21 +0200 |
commit | 5deb3317cb51ac52de922bb55f8492624018906d (patch) | |
tree | c2fbe6346699d9bb0f2100490c3029519bb8fde8 /target/linux/realtek/patches-2.6.30/009-hostapd-support.patch | |
parent | 0239d37124f9184b478a42de8a7fa1bc85a6a6fe (diff) |
Add realtek target files
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/realtek/patches-2.6.30/009-hostapd-support.patch')
-rw-r--r-- | target/linux/realtek/patches-2.6.30/009-hostapd-support.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-2.6.30/009-hostapd-support.patch b/target/linux/realtek/patches-2.6.30/009-hostapd-support.patch new file mode 100644 index 000000000..aaa89c9cd --- /dev/null +++ b/target/linux/realtek/patches-2.6.30/009-hostapd-support.patch @@ -0,0 +1,34 @@ +Index: linux-2.6.30.9/drivers/net/wireless/rtl8192cd/8192cd_cfg.h +=================================================================== +--- linux-2.6.30.9.orig/drivers/net/wireless/rtl8192cd/8192cd_cfg.h ++++ linux-2.6.30.9/drivers/net/wireless/rtl8192cd/8192cd_cfg.h +@@ -360,7 +360,7 @@ + // WPA Supplicant + //------------------------------------------------------------- + +-//#define WIFI_WPAS ++#define WIFI_WPAS + + #ifdef WIFI_WPAS + +@@ -515,9 +515,9 @@ + //------------------------------------------------------------- + // Hostapd + //------------------------------------------------------------- +-//#ifdef CONFIG_RTL_HOSTAPD_SUPPORT +-//#define WIFI_HAPD +-//#endif ++#ifdef CONFIG_RTL_HOSTAPD_SUPPORT ++#define WIFI_HAPD ++#endif + + #ifdef WIFI_HAPD + +@@ -1719,3 +1719,7 @@ + + #endif // _8192CD_CFG_H_ + ++#ifndef WIFI_HAPD ++#error hapd not-set ++#endif ++ |