hostap/src/p2p
Jouni Malinen 0bceb8d6f4 Make dl_list_first() and dl_list_last() uses easier for static analyzers
The previous check for dl_list_len() or having an entry from the list is
sufficient, but some static analyzers cannot figure out that
dl_list_first() and dl_list_last() will return non-NULL in this type of
cases. Avoid invalid reports by explicitly checking for NULL.

Signed-off-by: Jouni Malinen <j@w1.fi>
2014-04-29 12:52:10 +03:00
..
Makefile Add CONFIG_CODE_COVERAGE=y option for gcov 2013-11-24 19:16:12 +02:00
p2p.c Make dl_list_first() and dl_list_last() uses easier for static analyzers 2014-04-29 12:52:10 +03:00
p2p.h P2P: Optimize scan for GO during persistent group invocation 2014-03-25 15:38:33 +02:00
p2p_build.c Use P2P_IE_VENDOR_TYPE more consistently 2014-03-05 23:36:54 +02:00
p2p_dev_disc.c P2P: Clean up debug prints 2013-05-18 18:47:36 +03:00
p2p_go_neg.c P2P: Add retry mechanism for GO Negotiation Confirmation 2014-04-11 11:57:05 +03:00
p2p_group.c P2P: Add support for IP address assignment in 4-way handshake 2014-01-27 21:44:26 +02:00
p2p_i.h P2P: Add retry mechanism for GO Negotiation Confirmation 2014-04-11 11:57:05 +03:00
p2p_invitation.c P2P: Optimize scan for GO during persistent group invocation 2014-03-25 15:38:33 +02:00
p2p_parse.c P2P NFC: Static handover with NFC Tag on client 2014-01-27 21:44:30 +02:00
p2p_pd.c P2P: Cancel offchannel TX wait on PD Response TX status 2014-02-27 16:38:27 +02:00
p2p_sd.c Use P2P_IE_VENDOR_TYPE more consistently 2014-03-05 23:36:54 +02:00
p2p_utils.c P2P: Clean up channel selection code to use helper functions 2014-03-23 11:01:59 +02:00