summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/htc_drv_init.c
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2012-06-25 13:54:41 +0530
committerJohn W. Linville <linville@tuxdriver.com>2012-06-26 14:28:51 -0400
commitd8a2c51cdcaee0131c88f49d64b84f1c7361d72c (patch)
tree10755d698c5142f2517d5ad39b722c45420cc7c8 /drivers/net/wireless/ath/ath9k/htc_drv_init.c
parentfb1c078edb50376c14e049b22b10768b8245428a (diff)
downloadlinux-d8a2c51cdcaee0131c88f49d64b84f1c7361d72c.tar.gz
linux-d8a2c51cdcaee0131c88f49d64b84f1c7361d72c.tar.xz
ath9k_htc: Use atomic operations for op_flags
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_init.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/htc_drv_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
index cac6ff4cd14f..a035a380d669 100644
--- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c
+++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
@@ -611,7 +611,7 @@ static int ath9k_init_priv(struct ath9k_htc_priv *priv,
struct ath_common *common;
int i, ret = 0, csz = 0;
- priv->op_flags |= OP_INVALID;
+ set_bit(OP_INVALID, &priv->op_flags);
ah = kzalloc(sizeof(struct ath_hw), GFP_KERNEL);
if (!ah)