hostapd: fix broke noscan option for mesh
noscan option for mesh was broken and actually never applied. This is caused by a typo where ssid->noscan value is check instead of conf->noscan resulting in the logic swapped and broken. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
parent
1070fbce6e
commit
1b5ea2e199
2 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=hostapd
|
PKG_NAME:=hostapd
|
||||||
PKG_RELEASE:=5
|
PKG_RELEASE:=6
|
||||||
|
|
||||||
PKG_SOURCE_URL:=http://w1.fi/hostap.git
|
PKG_SOURCE_URL:=http://w1.fi/hostap.git
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
frequency);
|
frequency);
|
||||||
goto out_free;
|
goto out_free;
|
||||||
}
|
}
|
||||||
+ if (ssid->noscan)
|
+ if (conf->noscan)
|
||||||
+ conf->noscan = 1;
|
+ ssid->noscan = 1;
|
||||||
|
|
||||||
if (ssid->mesh_basic_rates == NULL) {
|
if (ssid->mesh_basic_rates == NULL) {
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue