[PATCH 1/2] P2P: Suppress warning on non-P2P config
Jouni Malinen
j at w1.fi
Mon Mar 27 15:04:14 PDT 2017
On Thu, Mar 16, 2017 at 10:59:40AM +0900, Masashi Honma wrote:
> Without CONFIG_P2P config, trailing warning occurs.
>
> ap.c: In function ‘wpas_conf_ap_vht’:
> ap.c:54:5: warning: unused variable ‘channel’ [-Wunused-variable]
> u8 channel = conf->channel;
> ^
> ap.c:53:5: warning: unused variable ‘center_chan’ [-Wunused-variable]
> u8 center_chan = 0;
> ^
Thanks, applied.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list