brcmfmac: Use real cookie value for p2p remain on channel.
authorHante Meuleman <meuleman@broadcom.com>
Fri, 8 Feb 2013 14:53:50 +0000 (15:53 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 8 Feb 2013 19:51:40 +0000 (14:51 -0500)
commitf2058dde8c2be70cc22dbd8f718ab6c33cf6ea11
treee448dcde83aee495c94acde27889d6834946a2ee
parent18e2f61db3b708e0a22ccc403cb6ab2203d6faab
brcmfmac: Use real cookie value for p2p remain on channel.

In some rare situations the wpa_supplicant can lock up on a remain
on channel command. Use actual cookies for the remain on channel
related commands and allow for additional remain on channel while
still having one set.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/p2p.c
drivers/net/wireless/brcm80211/brcmfmac/p2p.h