]> git.karo-electronics.de Git - mv-sheeva.git/commit
cfg80211: do not iterate over rdev list on country IE hint
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Fri, 31 Jul 2009 00:38:07 +0000 (17:38 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Aug 2009 20:44:18 +0000 (16:44 -0400)
commit4b44c8bc4d077f1a7a9e5e946a1400c3cbcadee7
treeba2640e5a74314d213f9564197b1b68cc994fc4b
parent9828b0170eef541c3fa583caa0134dadbb1d3ea6
cfg80211: do not iterate over rdev list on country IE hint

Simplify the country IE hint code by just bailing out if
a previous country IE has been issued. We currently just trust
the first AP we connect to on any card. The idea was to perform
conflict resolution within this routine but since we can no longer
iterate over the registered device list here we leave conflict
resolution to be dealt with at a later time on the workqueue.

This code has no functional changes other than saving us an
interation over the registered device list when a second card
is connected, or you unplug and connect the same one, and a
country IE is received. This would have been done upon every
beacon received.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/reg.c