brcmfmac: print errors if creating interface fails
authorRafał Miłecki <zajec5@gmail.com>
Fri, 27 May 2016 08:54:28 +0000 (10:54 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 16 Jun 2016 15:03:07 +0000 (18:03 +0300)
commit0cd33c204b98c6bff25817d69e4706b9fb610359
tree6d2b6187512ed88c9b90f7397f1256500bcab6b1
parentc62d50a4062e586855a68c3acfbc2a2c299270cd
brcmfmac: print errors if creating interface fails

This is helpful for debugging. Without this all I was getting from "iw"
command on failed creating of P2P interface was:
> command failed: Too many open files in system (-23)

Signed-off-by: Rafal Milecki <zajec5@gmail.com>
[arend@broadcom.com: reduce error prints upon iface creation]
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Reviewed-by: Julian Calaby <julian.calaby@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c