OSDN Git Service

qtnfmac: simplify error reporting in regulatory notifier
authorIgor Mitsyanko <igor.mitsyanko.os@quantenna.com>
Wed, 20 Mar 2019 10:03:49 +0000 (10:03 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 4 Apr 2019 09:57:25 +0000 (12:57 +0300)
commit642f15a5cee74de7f4aab5e04f19045db8dcf871
tree2094fb98bfca134ac41b80a099806b9dfd5bf3c8
parentd123172175db84a65bf66245bfa15aaabaa361a9
qtnfmac: simplify error reporting in regulatory notifier

Error reporting in qtnf_cfg80211_reg_notifier only requires to print
one type of message and an error code. Firmware will report success
for an attempt to set regulatory region to the same value,
so no special handling is required for this case.

Signed-off-by: Igor Mitsyanko <igor.mitsyanko.os@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c