[PATCH] P2P: GO/Client is not currently showing correct frequency in the P2P_EVENT_GROUP_STARTED event.

Jouni Malinen j
Fri Oct 28 12:29:42 PDT 2011


On Tue, Oct 25, 2011 at 11:26:57PM -0700, Jithu Jance wrote:
> P2P GO/Client is not currently showing correct frequency in the CTRL-EVENT [P2P_EVENT_GROUP_STARTED].  This patch fixes that. Kindly see whether the patch is okay.

Thanks, applied with some changes. This issues seems to be specific to
P2P client case since for GO, ssid->frequency is actually configured
correctly. In addition, I made the code a bit more robust by verifying
that wpa_s->current_bss is set just in case and made it use
wpa_s->assoc_freq if not. I'm not sure whether that can happen in
practice, but it is better to be safer here.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list