summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/hw.c
diff options
context:
space:
mode:
authorLuis de Bethencourt2010-03-29 22:34:39 +0200
committerJohn W. Linville2010-04-06 22:51:04 +0200
commit0a4528e2ae290104f2c343031976542f93ae229d (patch)
treed2648a190020b173c1b8e618aa71cdf866b1bb9c /drivers/net/wireless/ath/hw.c
parentmac80211: Fix robust management frame handling (MFP) (diff)
downloadkernel-qcow2-linux-0a4528e2ae290104f2c343031976542f93ae229d.tar.gz
kernel-qcow2-linux-0a4528e2ae290104f2c343031976542f93ae229d.tar.xz
kernel-qcow2-linux-0a4528e2ae290104f2c343031976542f93ae229d.zip
Net: wireless: ath: fix macros coding style issue in hw.c
This is a patch to the ath/hw.c file that fixes up a warning about macros found by the checkpatch.pl tool, that said that complex values should be enclosed in parenthesis. Signed-off-by: Luis de Bethencourt <luisbg@ubuntu.com> Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/hw.c')
-rw-r--r--drivers/net/wireless/ath/hw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/hw.c b/drivers/net/wireless/ath/hw.c
index ecc9eb01f4fa..a8f81ea09f14 100644
--- a/drivers/net/wireless/ath/hw.c
+++ b/drivers/net/wireless/ath/hw.c
@@ -19,8 +19,8 @@
#include "ath.h"
#include "reg.h"
-#define REG_READ common->ops->read
-#define REG_WRITE common->ops->write
+#define REG_READ (common->ops->read)
+#define REG_WRITE (common->ops->write)
/**
* ath_hw_set_bssid_mask - filter out bssids we listen