Mercurial > illumos > illumos-gate
changeset 4103:a2d359098a13
6548772 iwi plays dead in snv_62
author | ql147931 |
---|---|
date | Wed, 25 Apr 2007 09:46:41 -0700 |
parents | 83a0d1cce24b |
children | 91c60299aa9a |
files | usr/src/uts/common/io/iwi/ipw2200.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/common/io/iwi/ipw2200.c Wed Apr 25 02:01:07 2007 -0700 +++ b/usr/src/uts/common/io/iwi/ipw2200.c Wed Apr 25 09:46:41 2007 -0700 @@ -1452,6 +1452,7 @@ } } *(ch - cnt) = IPW2200_CHAN_5GHZ | (uint8_t)cnt; + ch = (cnt > 0) ? (ch + 1) : (scan.channels); /* * Compact supported channel number(2G) into a single buffer