Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Luis R. Rodriguez <lrodriguez@atheros.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

authored by

Luis R. Rodriguez and committed by
John W. Linville
667ecd01 615aab4b

+1 -1
+1 -1
net/wireless/reg.c
··· 1284 1284 if (intersected_rd) { 1285 1285 printk(KERN_DEBUG "cfg80211: We intersect both of these " 1286 1286 "and get:\n"); 1287 - print_regdomain_info(rd); 1287 + print_regdomain_info(intersected_rd); 1288 1288 return; 1289 1289 } 1290 1290 printk(KERN_DEBUG "cfg80211: Intersection between both failed\n");