PERFORCE change 113790 for review

Sam Leffler sam at FreeBSD.org
Wed Jan 31 20:34:31 UTC 2007


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

Change 113790 by sam at sam_ebb on 2007/01/31 20:33:48

	correct min/max tx power conversion from hal -> net80211

Affected files ...

.. //depot/projects/wifi/sys/dev/ath/if_ath.c#131 edit

Differences ...

==== //depot/projects/wifi/sys/dev/ath/if_ath.c#131 (text+ko) ====

@@ -5508,8 +5508,8 @@
 						    ichan->ic_flags);
 		}
 		ichan->ic_maxregpower = c->maxRegTxPower;	/* dBm */
-		ichan->ic_maxpower = c->maxTxPower / 2;		/* 1/2 dBm */
-		ichan->ic_minpower = c->minTxPower / 2;		/* 1/2 dBm */
+		ichan->ic_maxpower = c->maxTxPower;		/* 1/2 dBm */
+		ichan->ic_minpower = c->minTxPower;		/* 1/2 dBm */
 	}
 	ic->ic_nchans = nchan;
 	free(chans, M_TEMP);


More information about the p4-projects mailing list