From f6ea0a469205dc92415dfe3de63b7bb5f08a28e0 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Tue, 10 Jul 2018 01:56:52 +0200 Subject: [PATCH] Revert "Remove now useless rtlxdrv patch" This reverts commit bb87bdf11318ac72ece04ccf3fa586b9797ed761. I'm keeping this one after all... --- satellites/hostapd.sat | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/satellites/hostapd.sat b/satellites/hostapd.sat index 4e13801..e2e0778 100644 --- a/satellites/hostapd.sat +++ b/satellites/hostapd.sat @@ -1,12 +1,21 @@ name=hostapd version=2.6 +define_option '!rtlxdrv: Build with support for RTL8188{C|CU|CUS} wifi chips' + dlextract "http://w1.fi/releases/$name-$version.tar.gz" \ 'eaa56dce9bd8f1d195eb62596eab34c7' + +if option rtlxdrv; then + dlfile 'https://raw.githubusercontent.com/pritambaral/hostapd-rtl871xdrv/601a3f19d78393018f39a2e38ad14bf2e3315a0a/rtlxdrv.patch' \ + 'fef4f428e4aae71f5202a61f656952da' +fi _ -cd "$name-$version/$name" +cd "$name-$version" +option rtlxdrv patch -p1 -i ../rtlxdrv.patch +cd "$name" cp defconfig .config option rtlxdrv echo CONFIG_DRIVER_RTW=y >> .config make