DPP2: Fix URI version parser
Fix a copy-paste error in parsing the version info.
Fixes: 7dd768c3ca
("DPP2: Version information in bootstrapping info URI")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
6b8dde4ec9
commit
481fdfc462
1 changed files with 1 additions and 1 deletions
|
@ -1312,7 +1312,7 @@ static struct dpp_bootstrap_info * dpp_parse_uri(const char *uri)
|
|||
dpp_parse_uri_chan_list(bi, chan_list) < 0 ||
|
||||
dpp_parse_uri_mac(bi, mac) < 0 ||
|
||||
dpp_parse_uri_info(bi, info) < 0 ||
|
||||
dpp_parse_uri_version(bi, info) < 0 ||
|
||||
dpp_parse_uri_version(bi, version) < 0 ||
|
||||
dpp_parse_uri_pk(bi, pk) < 0) {
|
||||
dpp_bootstrap_info_free(bi);
|
||||
bi = NULL;
|
||||
|
|
Loading…
Reference in a new issue