]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Fix random channel selection to use os_get_random
authorJouni Malinen <j@w1.fi>
Sun, 31 Oct 2010 10:27:37 +0000 (12:27 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 31 Oct 2010 10:27:37 +0000 (12:27 +0200)
commitb7412dabd94036b2d0f39e8cc8ab963c98d22164
tree6a5622dba7b793a00a85050368f0f56ec2be6f37
parent79222cfa614594ac7fc32068c209268550440bfb
P2P: Fix random channel selection to use os_get_random

This could have been using an uninitialized variable instead of
purposefully random value in picking up the channel. There is not
much of a difference for the use case here, but anyway, we may
as well do what was initially planned here and.
wpa_supplicant/p2p_supplicant.c