Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266318
b: refs/heads/master
c: 4975312
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and John W. Linville committed Sep 21, 2011
1 parent 97b7170 commit bab5622
Show file tree
Hide file tree
Showing 2 changed files with 3 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: aef0ba54ecb961ae559106540f37ab734b64410d
refs/heads/master: 49753128d8fc976576c497c81962cf1ae57174aa
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/mwifiex/sta_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -868,10 +868,10 @@ int mwifiex_drv_get_data_rate(struct mwifiex_private *priv,
ret = mwifiex_rate_ioctl_cfg(priv, rate);

if (!ret) {
if (rate && rate->is_rate_auto)
if (rate->is_rate_auto)
rate->rate = mwifiex_index_to_data_rate(priv->tx_rate,
priv->tx_htinfo);
else if (rate)
else
rate->rate = priv->data_rate;
} else {
ret = -1;
Expand Down

0 comments on commit bab5622

Please sign in to comment.