aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/reg.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless/reg.c')
-rw-r--r--net/wireless/reg.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index f062b8b7000a..f8e7beb23add 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -711,14 +711,7 @@ int __regulatory_hint(struct wiphy *wiphy, enum reg_set_by set_by,
711 711
712 kfree(last_request); 712 kfree(last_request);
713 last_request = request; 713 last_request = request;
714 r = call_crda(alpha2); 714 return call_crda(alpha2);
715
716#ifndef CONFIG_WIRELESS_OLD_REGULATORY
717 if (r)
718 printk(KERN_ERR "cfg80211: Failed calling CRDA\n");
719#endif
720
721 return r;
722} 715}
723 716
724void regulatory_hint(struct wiphy *wiphy, const char *alpha2) 717void regulatory_hint(struct wiphy *wiphy, const char *alpha2)