brcmfmac: add bphy_err() and use it in the cfg80211.c
authorRafał Miłecki <rafal@milecki.pl>
Wed, 16 Jan 2019 06:28:54 +0000 (07:28 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 8 Feb 2019 15:23:57 +0000 (17:23 +0200)
commit3ef005b82e2ad68107fc5814eaa743d171a6c362
tree5ed4c7f0a3cf2599ec816fa2cd4503901dc58f65
parent8602e62441aba276cafd68034b72162fbc5ca0a6
brcmfmac: add bphy_err() and use it in the cfg80211.c

This new macro uses wiphy_err() which:
1) Should be the best choice with wiphy already created
2) Uses dev_err() which allows identifying error-affected device

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h