diff options
author | Bruce Wayne <olivercscott@gmail.com> | 2017-01-24 10:40:16 -0500 |
---|---|---|
committer | Ethan Chen <intervigil@gmail.com> | 2017-01-25 05:59:51 +0000 |
commit | f75d24a45f68dfeabda86d2e8416990d796f9a7e (patch) | |
tree | c10839e60a5611c45a03d5689e2a7ccd04221e8d | |
parent | b3e137b656ba31db1e630185995d0d4a5a676e0d (diff) | |
download | android_hardware_ti_wlan-cm-14.1.tar.gz android_hardware_ti_wlan-cm-14.1.tar.bz2 android_hardware_ti_wlan-cm-14.1.zip |
wl18xx: fix logical error (single bracket --> double bracket) in scriptslineage-16.0lineage-15.1cm-14.1
file
Applied the same patch as the one that was applied on wl12xx:
https://review.lineageos.org/#/c/158164/1
Change-Id: Ib45f30b402261d5390782b230ab53b1a4936ea03
-rwxr-xr-x | mac80211/compat_wl18xx/scripts/gen-compat-autoconf.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mac80211/compat_wl18xx/scripts/gen-compat-autoconf.sh b/mac80211/compat_wl18xx/scripts/gen-compat-autoconf.sh index 1b82184e..68753eb6 100755 --- a/mac80211/compat_wl18xx/scripts/gen-compat-autoconf.sh +++ b/mac80211/compat_wl18xx/scripts/gen-compat-autoconf.sh @@ -151,11 +151,11 @@ for i in $(egrep -h '^export CONFIG_|^ifdef CONFIG_|^ifndef CONFIG_|^endif #CONF sed 's/ /+/'); do case $i in 'ifdef+CONFIG_'* ) - echo "#$i" | sed -e 's/+/ /' -e 's/\(ifdef CONFIG_COMPAT_KERNEL_3_\)\([0-9]*\)/if (LINUX_VERSION_CODE < KERNEL_VERSION(3,\2,0))/' -e 's/\(ifdef CONFIG_COMPAT_KERNEL_2_6_\)\([0-9]*\)/if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,\2))/' -e 's/\(ifdef CONFIG_COMPAT_RHEL_\)\([0-9]*\)_\([0-9]*\)/if (defined(RHEL_MAJOR) \&\& RHEL_MAJOR == \2 \&\& RHEL_MINOR >= \3)/' -e 's/\(#ifdef \)\(CONFIG_[^:space:]*\)/#if defined(\2) || defined(\2_MODULE)/' + echo "#$i" | sed -e 's/+/ /' -e 's/\(ifdef CONFIG_COMPAT_KERNEL_3_\)\([0-9]*\)/if (LINUX_VERSION_CODE < KERNEL_VERSION(3,\2,0))/' -e 's/\(ifdef CONFIG_COMPAT_KERNEL_2_6_\)\([0-9]*\)/if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,\2))/' -e 's/\(ifdef CONFIG_COMPAT_RHEL_\)\([0-9]*\)_\([0-9]*\)/if (defined(RHEL_MAJOR) \&\& RHEL_MAJOR == \2 \&\& RHEL_MINOR >= \3)/' -e 's/\(#ifdef \)\(CONFIG_[[^:space:]]*\)/#if defined(\2) || defined(\2_MODULE)/' continue ;; 'ifndef+CONFIG_'* ) - echo "#$i" | sed -e 's/+/ /' -e 's/\(ifndef CONFIG_COMPAT_KERNEL_3_\)\([0-9]*\)/if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,\2,0))/' -e 's/\(ifndef CONFIG_COMPAT_KERNEL_2_6_\)\([0-9]*\)/if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,\2))/' -e 's/\(ifndef CONFIG_COMPAT_RHEL_\)\([0-9]*\)_\([0-9]*\)/if (!defined(RHEL_MAJOR) || RHEL_MAJOR != \2 || RHEL_MINOR < \3)/' -e 's/\(#ifndef \)\(CONFIG_[^:space:]*\)/#if !defined(\2) \&\& !defined(\2_MODULE)/' + echo "#$i" | sed -e 's/+/ /' -e 's/\(ifndef CONFIG_COMPAT_KERNEL_3_\)\([0-9]*\)/if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,\2,0))/' -e 's/\(ifndef CONFIG_COMPAT_KERNEL_2_6_\)\([0-9]*\)/if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,\2))/' -e 's/\(ifndef CONFIG_COMPAT_RHEL_\)\([0-9]*\)_\([0-9]*\)/if (!defined(RHEL_MAJOR) || RHEL_MAJOR != \2 || RHEL_MINOR < \3)/' -e 's/\(#ifndef \)\(CONFIG_[[^:space:]]*\)/#if !defined(\2) \&\& !defined(\2_MODULE)/' continue ;; 'else+#CONFIG_'* | 'endif+#CONFIG_'* ) |