brcmfmac: add missing break when deleting P2P_DEVICE
authorRafał Miłecki <zajec5@gmail.com>
Sat, 18 Jun 2016 23:55:57 +0000 (01:55 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 29 Jun 2016 16:01:57 +0000 (19:01 +0300)
commit20856adf22800ef90760d8256b6cf88675709584
treeaefcdea0f06e41af4d0d4a390af668427c2a52f1
parentbda9d01427f5b646e332e9e3d4b772477fd23c14
brcmfmac: add missing break when deleting P2P_DEVICE

We obviously don't want to fall through in that switch. With this change
1) We wait for event (triggered by p2p_disc) as expected
2) We remove interface manually on timeout
3) We return 0 on success instead of -ENOTSUPP

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c