diff options
Diffstat (limited to 'sys/dev/ic/ar5211.c')
-rw-r--r-- | sys/dev/ic/ar5211.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ar5211.c b/sys/dev/ic/ar5211.c index ee71c24ff6c..5d55e3a63c0 100644 --- a/sys/dev/ic/ar5211.c +++ b/sys/dev/ic/ar5211.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar5211.c,v 1.41 2009/01/15 07:55:22 grange Exp $ */ +/* $OpenBSD: ar5211.c,v 1.42 2009/02/06 17:06:45 grange Exp $ */ /* * Copyright (c) 2004, 2005, 2006, 2007 Reyk Floeter <reyk@openbsd.org> @@ -2415,7 +2415,7 @@ ar5k_ar5211_get_capabilities(struct ath_hal *hal) * If the EEPROM is not reporting any mode, we try 11b. * This might fix a few broken devices with invalid EEPROM. */ - if (a == b == g == 0) + if (!a && !b && !g) b = 1; /* |