aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2014-10-30 18:13:16 (GMT)
committerJouni Malinen <j@w1.fi>2014-10-30 22:50:01 (GMT)
commitb5ea99377f852f913b52ed146ab30ff1a1a0e141 (patch)
tree658e6082fc45a66aecb26d37c00eefcdd4e99763 /src
parente7ce54023926addb6be4442bd1a87698c57e7524 (diff)
downloadhostap-b5ea99377f852f913b52ed146ab30ff1a1a0e141.zip
hostap-b5ea99377f852f913b52ed146ab30ff1a1a0e141.tar.gz
hostap-b5ea99377f852f913b52ed146ab30ff1a1a0e141.tar.bz2
P2P: Document p2p_in_progress() return value 2
Function documentation was not in sync with the implementation. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src')
-rw-r--r--src/p2p/p2p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/p2p/p2p.h b/src/p2p/p2p.h
index b1bc3d4..fa886f7 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);