]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Split p2p_channels_union() into two functions
authorJouni Malinen <j@w1.fi>
Fri, 5 Dec 2014 20:34:27 +0000 (22:34 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 6 Dec 2014 10:16:32 +0000 (12:16 +0200)
commita6306bcc92debaf2944710b0cbdd365fd8c30bd4
treedf7a6d01260a8124e3598d77006b9b7d2c7002f3
parent2f816c212c37a86b5499d3710c820d33401b06dc
P2P: Split p2p_channels_union() into two functions

The separate p2p_channels_union_inplace() makes the function easier for
static analyzers to see that the result buffer is always initialized.
(CID 74494)

Signed-off-by: Jouni Malinen <j@w1.fi>
src/p2p/p2p.c
src/p2p/p2p_i.h
src/p2p/p2p_utils.c