From: Jouni Malinen Date: Thu, 30 Oct 2014 18:13:16 +0000 (+0200) Subject: P2P: Document p2p_in_progress() return value 2 X-Git-Tag: hostap_2_4~1181 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b5ea99377f852f913b52ed146ab30ff1a1a0e141;p=thirdparty%2Fhostap.git P2P: Document p2p_in_progress() return value 2 Function documentation was not in sync with the implementation. Signed-off-by: Jouni Malinen --- diff --git a/src/p2p/p2p.h b/src/p2p/p2p.h index b1bc3d4da..fa886f742 100644 --- a/src/p2p/p2p.h +++ b/src/p2p/p2p.h @@ -1922,7 +1922,8 @@ int p2p_set_no_go_freq(struct p2p_data *p2p, /** * p2p_in_progress - Check whether a P2P operation is progress * @p2p: P2P module context from p2p_init() - * Returns: 0 if P2P module is idle or 1 if an operation is in progress + * Returns: 0 if P2P module is idle, 1 if an operation is in progress but not + * in search state, or 2 if search state operation is in progress */ int p2p_in_progress(struct p2p_data *p2p);