Fix GAS server ifdef block use
Commit 941caed980
('MBO: Add MBO
ANQP-element processing on AP') changed the design by using the
rx_anqp_vendor_specific() function to process all ANQP vendor specific
elements. However, the caller for this was within ifdef CONFIG_HS20
block. Fix this by calling the function even in CONFIG_HS20=y is not
included in the build. This fixes CONFIG_MBO=y builds without
CONFIG_HS20=y.
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
8b49b530b3
commit
f541148257
1 changed files with 0 additions and 2 deletions
|
@ -1492,11 +1492,9 @@ static void gas_serv_rx_gas_initial_req(struct hostapd_data *hapd,
|
||||||
case ANQP_QUERY_LIST:
|
case ANQP_QUERY_LIST:
|
||||||
rx_anqp_query_list(hapd, pos, pos + elen, &qi);
|
rx_anqp_query_list(hapd, pos, pos + elen, &qi);
|
||||||
break;
|
break;
|
||||||
#ifdef CONFIG_HS20
|
|
||||||
case ANQP_VENDOR_SPECIFIC:
|
case ANQP_VENDOR_SPECIFIC:
|
||||||
rx_anqp_vendor_specific(hapd, pos, pos + elen, &qi);
|
rx_anqp_vendor_specific(hapd, pos, pos + elen, &qi);
|
||||||
break;
|
break;
|
||||||
#endif /* CONFIG_HS20 */
|
|
||||||
default:
|
default:
|
||||||
wpa_printf(MSG_DEBUG, "ANQP: Unsupported Query "
|
wpa_printf(MSG_DEBUG, "ANQP: Unsupported Query "
|
||||||
"Request element %u", info_id);
|
"Request element %u", info_id);
|
||||||
|
|
Loading…
Reference in a new issue