Message ID | 2C2F1EBA8050E74EA81502D5740B4BD6BBA9D30FAD@SJEXCHCCR02.corp.ad.broadcom.com |
---|---|
State | Superseded, archived |
Headers | show |
On Tue, 2011-11-08 at 02:36 -0800, Neeraj Kumar Garg wrote: > Hello Jouni, > > Sorry for sending this patch again. Please let me know if the patch > requires modifications. It does, you need to not send it as html :-) johannes
diff --git a/src/p2p/p2p_group.c b/src/p2p/p2p_group.c old mode 100644 new mode 100755 index 58b24c5..d60f6c0 --- a/src/p2p/p2p_group.c +++ b/src/p2p/p2p_group.c @@ -658,7 +658,7 @@ u8 p2p_group_presence_req(struct p2p_group *group, curr_noa_len); /* TODO: properly process request and store copy */ - if (curr_noa_len > 0) + if (curr_noa_len < 0) return P2P_SC_FAIL_UNABLE_TO_ACCOMMODATE; return P2P_SC_SUCCESS;