Skip to contentSkip to conversation

hostapd: bump to version 2.2

PATCH New Baruch Siach 2 participants 3 messages Jun 5, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hostapd: bump to version 2.2

Drop upstream patch.

---
 ...-Fix-Beacon-RX-before-AP-setup-completion.patch | 35 ----------------------
 package/hostapd/hostapd.mk                         |  2 +-
 2 files changed, 1 insertion(+), 36 deletions(-)
 delete mode 100644 package/hostapd/hostapd-0001-Fix-Beacon-RX-before-AP-setup-completion.patch
package/hostapd/hostapd-0001-Fix-Beacon-RX-before-AP-setup-completion.patch deleted +0 -35
deleted file mode 100644
index d5ac55a67ee1..000000000000
@@ -1,35 +0,0 @@
-From 334ec001bbd31c5bc83d6593e58dfbbf6b8785a2 Mon Sep 17 00:00:00 2001
-From: Jouni Malinen <[email protected]>
-Date: Thu, 6 Feb 2014 15:22:06 +0200
-Subject: [PATCH] Fix Beacon RX before AP setup completion
-
-It is possible for the driver to report Beacon RX prior to hostapd
-having completed AP mode setup, e.g., when changing country code. Beacon
-frame processing for OLBC was not prepared for this and could trigger
-segfault due to NULL pointer dereference. Fix this by ignoring the
-Beacon frames received prior to completing interface setup when
-determining OLBC updates.
-
-Signed-hostap: Jouni Malinen <[email protected]>
-Signed-off-by: Peter Korsgaard <[email protected]>
----
- src/ap/ap_list.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/src/ap/ap_list.c b/src/ap/ap_list.c
-index f9b1540..287d520 100644
---- a/src/ap/ap_list.c
-+++ b/src/ap/ap_list.c
-@@ -32,7 +32,8 @@ static int ap_list_beacon_olbc(struct hostapd_iface *iface, struct ap_info *ap)
- {
- 	int i;
- 
--	if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G ||
-+	if (iface->current_mode == NULL ||
-+	    iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G ||
- 	    iface->conf->channel != ap->channel)
- 		return 0;
- 
--- 
-2.0.0.rc2
-
package/hostapd/hostapd.mk +1 -1
index 5b7dd77483ad..744d9b0d4fc6 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-HOSTAPD_VERSION = 2.1
+HOSTAPD_VERSION = 2.2
 HOSTAPD_SITE = http://hostap.epitest.fi/releases
 HOSTAPD_SUBDIR = hostapd
 HOSTAPD_CONFIG = $(HOSTAPD_DIR)/$(HOSTAPD_SUBDIR)/.config
Signature · 1 line
2.0.0.rc2
#1 lore raw

PATCH 1/1 hostapd: bump to version 2.2

Quoted 1 line · Baruch Siach

Drop upstream patch.

You can also drop the CONFIG_IEEE80211W setting since it's now default y and redundant.
Regards.

#2 lore raw

PATCH 1/1 hostapd: bump to version 2.2

Hi Gustavo,

Quoted 6 lines · Gustavo Zacarias
Quoted 1 line · Baruch Siach

Drop upstream patch.

You can also drop the CONFIG_IEEE80211W setting since it's now default y and redundant.

Thanks for reviewing. Will do in v2.

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -