mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
d211e90e28
commit
0a4528e2ae
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue