PERFORCE change 112445 for review

Kip Macy kmacy at FreeBSD.org
Tue Jan 2 22:04:33 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=112445

Change 112445 by kmacy at kmacy_serendipity:sam_wifi on 2007/01/03 06:04:14

	fix "firmware error" complaints 
	the channel index is no longer the same as the IEEE channel

Affected files ...

.. //depot/projects/wifi/sys/dev/iwi/if_iwi.c#17 edit

Differences ...

==== //depot/projects/wifi/sys/dev/iwi/if_iwi.c#17 (text+ko) ====

@@ -2753,7 +2753,7 @@
 			    !(isset(ic->ic_chan_scan,i) || c == ic->ic_curchan))
 				continue;
 			ix++;
-			scan.channels[ix] = i;
+			scan.channels[ix] = c->ic_ieee;
 			if (c->ic_flags & IEEE80211_CHAN_PASSIVE)
 				set_scan_type(&scan, ix, IWI_SCAN_TYPE_PASSIVE);
 			else
@@ -2773,7 +2773,7 @@
 			    !(isset(ic->ic_chan_scan,i) || c == ic->ic_curchan))
 				continue;
 			ix++;
-			scan.channels[ix] = i;
+			scan.channels[ix] = c->ic_ieee;
 			if (c->ic_flags & IEEE80211_CHAN_PASSIVE)
 				set_scan_type(&scan, ix, IWI_SCAN_TYPE_PASSIVE);
 			else


More information about the p4-projects mailing list