[arch-commits] Commit in hostapd/trunk (PKGBUILD hostapd-2.3-noscan.patch)

Sergej Pupykin spupykin at archlinux.org
Thu Oct 6 08:29:19 UTC 2016


    Date: Thursday, October 6, 2016 @ 08:29:18
  Author: spupykin
Revision: 191470

upgpkg: hostapd 2.6-3

upd

Modified:
  hostapd/trunk/PKGBUILD
  hostapd/trunk/hostapd-2.3-noscan.patch

--------------------------+
 PKGBUILD                 |    4 ++--
 hostapd-2.3-noscan.patch |   18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-06 08:17:11 UTC (rev 191469)
+++ PKGBUILD	2016-10-06 08:29:18 UTC (rev 191470)
@@ -3,7 +3,7 @@
 
 pkgname=hostapd
 pkgver=2.6
-pkgrel=2
+pkgrel=3
 pkgdesc="IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator"
 arch=('i686' 'x86_64')
 url="http://w1.fi/hostapd/"
@@ -19,7 +19,7 @@
 md5sums=('eaa56dce9bd8f1d195eb62596eab34c7'
          '43c0ec1d8b4d4e46f468bc161bb05c4b'
          '380042b9cf4950e34ed34b3093ab9e7f'
-         'f3875fc2ac90d9b99501d690a0988857'
+         'f40f2652f2cd22d4bf1cfd76e02b9225'
          'a0802a604ed957078da0e14863df74f0')
 
 prepare() {

Modified: hostapd-2.3-noscan.patch
===================================================================
--- hostapd-2.3-noscan.patch	2016-10-06 08:17:11 UTC (rev 191469)
+++ hostapd-2.3-noscan.patch	2016-10-06 08:29:18 UTC (rev 191470)
@@ -33,6 +33,24 @@
  		return 1; /* HT40 not used */
  
  	pri_chan = iface->conf->channel;
+@@ -474,7 +474,7 @@
+ 	int ret;
+ 
+ 	/* Check that HT40 is used and PRI / SEC switch is allowed */
+-	if (!iface->conf->secondary_channel || iface->conf->no_pri_sec_switch)
++	if (!iface->conf->secondary_channel || iface->conf->no_pri_sec_switch || iface->conf->noscan)
+ 		return 0;
+ 
+ 	hostapd_set_state(iface, HAPD_IFACE_HT_SCAN);
+@@ -794,7 +794,7 @@
+ 	if (!hostapd_is_usable_chan(iface, iface->conf->channel, 1))
+ 		return 0;
+ 
+-	if (!iface->conf->secondary_channel)
++	if (!iface->conf->secondary_channel || iface->conf->noscan)
+ 		return 1;
+ 
+ 	return hostapd_is_usable_chan(iface, iface->conf->channel +
 diff -wbBur hostapd-2.6/src/ap/ieee802_11_ht.c hostapd-2.6.my/src/ap/ieee802_11_ht.c
 --- hostapd-2.6/src/ap/ieee802_11_ht.c	2016-10-02 21:51:11.000000000 +0300
 +++ hostapd-2.6.my/src/ap/ieee802_11_ht.c	2016-10-04 21:14:04.989773368 +0300



More information about the arch-commits mailing list