OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 1... Line 1...
1 --- a/hostapd/config_file.c 1 --- a/hostapd/config_file.c
2 +++ b/hostapd/config_file.c 2 +++ b/hostapd/config_file.c
3 @@ -3317,6 +3317,10 @@ static int hostapd_config_fill(struct ho 3 @@ -3131,6 +3131,10 @@ static int hostapd_config_fill(struct ho
4 } 4 }
5 #endif /* CONFIG_IEEE80211W */ 5 #endif /* CONFIG_IEEE80211W */
6 #ifdef CONFIG_IEEE80211N 6 #ifdef CONFIG_IEEE80211N
7 + } else if (os_strcmp(buf, "noscan") == 0) { 7 + } else if (os_strcmp(buf, "noscan") == 0) {
8 + conf->noscan = atoi(pos); 8 + conf->noscan = atoi(pos);
Line 11... Line 11...
11 } else if (os_strcmp(buf, "ieee80211n") == 0) { 11 } else if (os_strcmp(buf, "ieee80211n") == 0) {
12 conf->ieee80211n = atoi(pos); 12 conf->ieee80211n = atoi(pos);
13 } else if (os_strcmp(buf, "ht_capab") == 0) { 13 } else if (os_strcmp(buf, "ht_capab") == 0) {
14 --- a/src/ap/ap_config.h 14 --- a/src/ap/ap_config.h
15 +++ b/src/ap/ap_config.h 15 +++ b/src/ap/ap_config.h
16 @@ -781,6 +781,8 @@ struct hostapd_config { 16 @@ -763,6 +763,8 @@ struct hostapd_config {
Line 17... Line 17...
17 17
18 int ht_op_mode_fixed; 18 int ht_op_mode_fixed;
19 u16 ht_capab; 19 u16 ht_capab;
20 + int noscan; 20 + int noscan;