aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-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 f062b8b7000..f8e7beb23ad 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,
kfree(last_request);
last_request = request;
- r = call_crda(alpha2);
-
-#ifndef CONFIG_WIRELESS_OLD_REGULATORY
- if (r)
- printk(KERN_ERR "cfg80211: Failed calling CRDA\n");
-#endif
-
- return r;
+ return call_crda(alpha2);
}
void regulatory_hint(struct wiphy *wiphy, const char *alpha2)