return false;
 }
 
-static bool regdom_changed(const char *alpha2)
+static bool regdom_changes(const char *alpha2)
 {
        assert_cfg80211_lock();
 
                                 * intersect them, but that seems unlikely
                                 * to be correct. Reject second one for now.
                                 */
-                               if (!alpha2_equal(alpha2,
-                                                 cfg80211_regdomain->alpha2))
+                               if (regdom_changes(alpha2))
                                        return -EOPNOTSUPP;
                                return -EALREADY;
                        }
                         * Two consecutive Country IE hints on the same wiphy.
                         * This should be picked up early by the driver/stack
                         */
-                       if (WARN_ON(!alpha2_equal(cfg80211_regdomain->alpha2,
-                                 alpha2)))
+                       if (WARN_ON(regdom_changes(alpha2)))
                                return 0;
                        return -EALREADY;
                }
                if (last_request->initiator == REGDOM_SET_BY_CORE) {
                        if (is_old_static_regdom(cfg80211_regdomain))
                                return 0;
-                       if (!alpha2_equal(cfg80211_regdomain->alpha2, alpha2))
+                       if (regdom_changes(alpha2))
                                return 0;
                        return -EALREADY;
                }
                 * loaded card also agrees on the regulatory domain.
                 */
                if (last_request->initiator == REGDOM_SET_BY_DRIVER &&
-                   alpha2_equal(cfg80211_regdomain->alpha2, alpha2))
+                   !regdom_changes(alpha2))
                        return -EALREADY;
 
                return REG_INTERSECT;
                if (last_request->initiator == REGDOM_SET_BY_CORE ||
                    last_request->initiator == REGDOM_SET_BY_DRIVER ||
                    last_request->initiator == REGDOM_SET_BY_USER) {
-                       if (!alpha2_equal(last_request->alpha2,
-                           cfg80211_regdomain->alpha2))
+                       if (regdom_changes(last_request->alpha2))
                                return -EAGAIN;
                }
 
                if (!is_old_static_regdom(cfg80211_regdomain) &&
-                   alpha2_equal(cfg80211_regdomain->alpha2, alpha2))
+                   !regdom_changes(alpha2))
                        return -EALREADY;
 
                return 0;
                 * checking if the alpha2 changes if CRDA was already called
                 */
                if (!is_old_static_regdom(cfg80211_regdomain) &&
-                   !regdom_changed(rd->alpha2))
+                   !regdom_changes(rd->alpha2))
                        return -EINVAL;
        }