MBO: Silence a compiler warning when building without CONFIG_MBO
The fail label is used only within ifdef CONFIG_MBO, so declare it in the same manner. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
4c4070005a
commit
d5bd941339
1 changed files with 2 additions and 0 deletions
|
@ -1070,7 +1070,9 @@ static int hostapd_ctrl_iface_bss_tm_req(struct hostapd_data *hapd,
|
||||||
nei_pos > nei_rep ? nei_rep : NULL,
|
nei_pos > nei_rep ? nei_rep : NULL,
|
||||||
nei_pos - nei_rep, mbo_len ? mbo : NULL,
|
nei_pos - nei_rep, mbo_len ? mbo : NULL,
|
||||||
mbo_len);
|
mbo_len);
|
||||||
|
#ifdef CONFIG_MBO
|
||||||
fail:
|
fail:
|
||||||
|
#endif /* CONFIG_MBO */
|
||||||
os_free(url);
|
os_free(url);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue