diff options
-rw-r--r-- | net/wireless/reg.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c index ff7ffeb7947a..20ccc79d53a2 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c @@ -1802,11 +1802,8 @@ __reg_process_hint_country_ie(struct wiphy *wiphy, return REG_REQ_IGNORE; return REG_REQ_ALREADY_SET; } - /* - * Two consecutive Country IE hints on the same wiphy. - * This should be picked up early by the driver/stack - */ - if (WARN_ON(regdom_changes(country_ie_request->alpha2))) + + if (regdom_changes(country_ie_request->alpha2)) return REG_REQ_OK; return REG_REQ_ALREADY_SET; } |