Skip to content

Commit

Permalink
Net: wireless: ath: fix macros coding style issue in hw.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luis de Bethencourt authored and John W. Linville committed Apr 6, 2010
1 parent d211e90 commit 0a4528e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/ath/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0a4528e

Please sign in to comment.