mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacld-3.0: Return value check error in getlinkspeed
The return value check logic is wrong in __iw_get_softap_linkspeed. Which cause get linkspeed always failed. Change-Id: If37732867f91e2b95996614ab863953d5ed5af93 CRs-Fixed: 2232332
This commit is contained in:
parent
894a47ad13
commit
51c9a14dbf
1 changed files with 1 additions and 1 deletions
|
|
@ -5237,7 +5237,7 @@ int __iw_get_softap_linkspeed(struct net_device *dev,
|
|||
}
|
||||
rc = wlan_hdd_get_linkspeed_for_peermac(adapter, &macAddress,
|
||||
&link_speed);
|
||||
if (!rc) {
|
||||
if (rc) {
|
||||
hdd_err("Unable to retrieve SME linkspeed");
|
||||
return rc;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue