aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2x00
diff options
context:
space:
mode:
authorBob Copeland <me@bobcopeland.com>2009-02-12 13:38:58 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-27 14:52:33 -0500
commit191a99b748a080d9ec896f35352da741b556119e (patch)
treeebaf331f338bb7a47dea80fc7f5f309df93ea147 /drivers/net/wireless/ipw2x00
parent65fe4656b79d5f91e7c7416c9a2994301ccc15e7 (diff)
ath9k: move common regulatory code out of if() branches
Both branches of the regulatory check in ath_attach() set up a custom regulatory domain and apply radar and world flags, so extract those into a single path. While at it, fix a couple of spelling errors and an unnecessary extra pointer traversal. Signed-off-by: Bob Copeland <me@bobcopeland.com> Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ipw2x00')
0 files changed, 0 insertions, 0 deletions