diff options
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-io.h')
-rw-r--r-- | drivers/net/wireless/iwlegacy/iwl-io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-io.h b/drivers/net/wireless/iwlegacy/iwl-io.h index 8cb924d1e264..9d33da82a79f 100644 --- a/drivers/net/wireless/iwlegacy/iwl-io.h +++ b/drivers/net/wireless/iwlegacy/iwl-io.h | |||
@@ -176,7 +176,7 @@ static inline void il_write_reg_buf(struct il_priv *il, | |||
176 | { | 176 | { |
177 | u32 count = sizeof(u32); | 177 | u32 count = sizeof(u32); |
178 | 178 | ||
179 | if ((il != NULL) && (values != NULL)) { | 179 | if (il != NULL && values != NULL) { |
180 | for (; 0 < len; len -= count, reg += count, values++) | 180 | for (; 0 < len; len -= count, reg += count, values++) |
181 | il_wr(il, reg, *values); | 181 | il_wr(il, reg, *values); |
182 | } | 182 | } |