/* This lets us keep regulatory code which is updated on a regulatory basis in userspace.  */
static int call_crda(const char *alpha2)
/* This lets us keep regulatory code which is updated on a regulatory basis in userspace.  */
static int call_crda(const char *alpha2)
{
	char country_env[9 + 2] = "COUNTRY=";
	char *envp[] = {
		country_env,
		NULL
	};
	if (!is_world_regdom((char *) alpha2))
		printk(KERN_INFO "cfg80211: Calling CRDA for country: %c%c\n",
			alpha2[0], alpha2[1]);
	else
		printk(KERN_INFO "cfg80211: Calling CRDA to update world "
			"regulatory domain\n");
	country_env[8] = alpha2[0];
	country_env[9] = alpha2[1];
	return kobject_uevent_env(&reg_pdev->dev.kobj, KOBJ_CHANGE, envp);
}