ath9k: convert isWwrSKU macro into C code
authorBob Copeland <me@bobcopeland.com>
Thu, 12 Feb 2009 18:38:55 +0000 (13:38 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Feb 2009 19:51:47 +0000 (14:51 -0500)
commitd0f48f9d1fa9ad01effdf280cda944c6eb518f59
tree10425e36539d25207140dd979c346ae227264b86
parente775aaf07a72eafdb352a984d820612dd76eab8c
ath9k: convert isWwrSKU macro into C code

Write isWwrSKU as an inline function and nix the camel-case to make
the routine slightly clearer.  Change its argument to take the regd
value directly so it can eventually be used by ath5k as well.

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>
drivers/net/wireless/ath9k/regd.c
drivers/net/wireless/ath9k/regd.h