From: Bob Copeland Date: Thu, 12 Feb 2009 18:38:58 +0000 (-0500) Subject: ath9k: move common regulatory code out of if() branches X-Git-Tag: v2.6.30-rc1~662^2~460^2~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=191a99b748a080d9ec896f35352da741b556119e;p=pandora-kernel.git 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 Acked-by: Luis R. Rodriguez Signed-off-by: John W. Linville --- Reading git-diff-tree failed