WPS ER: Fix compiler warning on non-WPS2 builds
This commit is contained in:
parent
fd806bac5f
commit
c17b1e274f
1 changed files with 2 additions and 0 deletions
|
@ -1461,7 +1461,9 @@ void wps_er_set_sel_reg(struct wps_er *er, int sel_reg, u16 dev_passwd_id,
|
||||||
struct wps_er_ap *ap;
|
struct wps_er_ap *ap;
|
||||||
struct wps_registrar *reg = er->wps->registrar;
|
struct wps_registrar *reg = er->wps->registrar;
|
||||||
const u8 *auth_macs;
|
const u8 *auth_macs;
|
||||||
|
#ifdef CONFIG_WPS2
|
||||||
u8 bcast[ETH_ALEN];
|
u8 bcast[ETH_ALEN];
|
||||||
|
#endif /* CONFIG_WPS2 */
|
||||||
size_t count;
|
size_t count;
|
||||||
union wps_event_data data;
|
union wps_event_data data;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue