Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300619
b: refs/heads/master
c: c9919be
h: refs/heads/master
i:
  300617: 4091a47
  300615: 10fdb62
v: v3
  • Loading branch information
Amitkumar Karwar authored and John W. Linville committed Apr 9, 2012
1 parent 2f2468e commit c66366b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: d17087e78d3961bd42f99cc3cf8cbf2d7d8ef55e
refs/heads/master: c9919be642252baae7a80cacff52a3ed586b0547
5 changes: 3 additions & 2 deletions trunk/drivers/net/wireless/mwifiex/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1667,8 +1667,9 @@ int mwifiex_ret_802_11_scan(struct mwifiex_private *priv,

memcpy(bssid, bcn_param->bssid, ETH_ALEN);

rssi = (s32) (bcn_param->rssi);
dev_dbg(adapter->dev, "info: InterpretIE: RSSI=%02X\n", rssi);
rssi = (s32) bcn_param->rssi;
rssi = (-rssi) * 100; /* Convert dBm to mBm */
dev_dbg(adapter->dev, "info: InterpretIE: RSSI=%d\n", rssi);

beacon_period = le16_to_cpu(bcn_param->beacon_period);

Expand Down

0 comments on commit c66366b

Please sign in to comment.