Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 667ecd01 authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by John W. Linville
Browse files

cfg80211: print correct intersected regulatory domain



When CONFIG_CFG80211_REG_DEBUG is enabled and an intersection
occurs we are printing the regulatory domain passed by CRDA
and indicating its the intersected regulatory domain. Lets fix
this and print the intersection as originally intended.

Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
Acked-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 615aab4b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1284,7 +1284,7 @@ static void reg_country_ie_process_debug(
	if (intersected_rd) {
	if (intersected_rd) {
		printk(KERN_DEBUG "cfg80211: We intersect both of these "
		printk(KERN_DEBUG "cfg80211: We intersect both of these "
			"and get:\n");
			"and get:\n");
		print_regdomain_info(rd);
		print_regdomain_info(intersected_rd);
		return;
		return;
	}
	}
	printk(KERN_DEBUG "cfg80211: Intersection between both failed\n");
	printk(KERN_DEBUG "cfg80211: Intersection between both failed\n");