[PATCH] P2P: Show "FAIL" for invalid operation

Jouni Malinen j
Mon Jan 31 07:31:59 PST 2011


On Thu, Nov 25, 2010 at 10:45:13AM +0900, Masashi Honma wrote:
> ./wpa_cli -i wlan0 p2p_group_add
> ./wpa_cli -i wlan0 p2p_find

> But the second one shows "OK" on control console.
> 
> This patch makes it to show "FAIL".

Thanks, applied. Though, it should be noted that p2p_find is not really
result in a failure even if there is a group running, but well, it does
currently with mac80211, so better show that failure in control
interface.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list