PERFORCE change 64272 for review
Sam Leffler
sam at FreeBSD.org
Thu Nov 4 14:57:07 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=64272
Change 64272 by sam at sam_ebb on 2004/11/04 22:57:06
use ieee80211_getrssi when filling in the data for
SIOCGATHSTATS so the rssi makes more sense when operating
in non-station mode
Affected files ...
.. //depot/projects/wifi/sys/dev/ath/if_ath.c#11 edit
Differences ...
==== //depot/projects/wifi/sys/dev/ath/if_ath.c#11 (text+ko) ====
@@ -3834,8 +3834,7 @@
ath_mode_init(sc);
break;
case SIOCGATHSTATS:
- sc->sc_stats.ast_rx_rssi =
- ic->ic_node_getrssi(ic, ic->ic_bss);
+ sc->sc_stats.ast_rx_rssi = ieee80211_getrssi(ic);
ATH_UNLOCK(sc);
/*
* NB: Drop the softc lock in case of a page fault;
More information about the p4-projects
mailing list