diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2012-08-30 11:03:58 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2012-08-30 11:03:58 +0000 |
commit | f024c8018dc6a2dedb86893b5ca24791db20bc53 (patch) | |
tree | f51b2591cb932b25c9d852306e9aa5712fb71669 /sys/dev/ic | |
parent | c53befc839fb22df41c457b79b1ef97a4a2a1946 (diff) |
make a variable that can take a value of -1 signed to match what the
rest of the code expects.
from brad
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/ar5211.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/ar5211.c b/sys/dev/ic/ar5211.c index e4293692863..853b5b2aad6 100644 --- a/sys/dev/ic/ar5211.c +++ b/sys/dev/ic/ar5211.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar5211.c,v 1.44 2009/06/02 12:39:02 reyk Exp $ */ +/* $OpenBSD: ar5211.c,v 1.45 2012/08/30 11:03:57 jsg Exp $ */ /* * Copyright (c) 2004, 2005, 2006, 2007 Reyk Floeter <reyk@openbsd.org> @@ -2563,8 +2563,9 @@ ar5k_ar5211_rfregs(struct ath_hal *hal, HAL_CHANNEL *channel, u_int freq, { struct ar5k_eeprom_info *ee = &hal->ah_capabilities.cap_eeprom; struct ar5k_ar5211_ini_rf rf[nitems(ar5211_rf)]; - u_int32_t ob, db, obdb, xpds, xpdp, x_gain; + u_int32_t ob, db, xpds, xpdp, x_gain; u_int i; + int obdb; bcopy(ar5211_rf, rf, sizeof(rf)); obdb = 0; |