Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300622
b: refs/heads/master
c: 7013d3e
h: refs/heads/master
v: v3
  • Loading branch information
Amitkumar Karwar authored and John W. Linville committed Apr 9, 2012
1 parent bb894f0 commit cc7fe4e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 958a4a862f41eee27091b726de7ffa08c8488ce9
refs/heads/master: 7013d3e267ef41b3dfdfedbbe6c3d3e666f0f138
7 changes: 4 additions & 3 deletions trunk/drivers/net/wireless/mwifiex/cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -519,9 +519,9 @@ mwifiex_dump_station_info(struct mwifiex_private *priv,
struct mwifiex_rate_cfg rate;

sinfo->filled = STATION_INFO_RX_BYTES | STATION_INFO_TX_BYTES |
STATION_INFO_RX_PACKETS |
STATION_INFO_TX_PACKETS
| STATION_INFO_SIGNAL | STATION_INFO_TX_BITRATE;
STATION_INFO_RX_PACKETS | STATION_INFO_TX_PACKETS |
STATION_INFO_TX_BITRATE |
STATION_INFO_SIGNAL | STATION_INFO_SIGNAL_AVG;

/* Get signal information from the firmware */
if (mwifiex_send_cmd_sync(priv, HostCmd_CMD_RSSI_INFO,
Expand Down Expand Up @@ -555,6 +555,7 @@ mwifiex_dump_station_info(struct mwifiex_private *priv,
sinfo->txrate.flags |= RATE_INFO_FLAGS_SHORT_GI;
}

sinfo->signal_avg = priv->bcn_rssi_avg;
sinfo->rx_bytes = priv->stats.rx_bytes;
sinfo->tx_bytes = priv->stats.tx_bytes;
sinfo->rx_packets = priv->stats.rx_packets;
Expand Down

0 comments on commit cc7fe4e

Please sign in to comment.