commit | cbaaf592b742ccecfd066e796cdb1eda461f4db2 | [log] [tgz] |
---|---|---|
author | Amitkumar Karwar <akarwar@marvell.com> | Mon Sep 26 20:37:24 2011 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Sep 30 15:56:59 2011 -0400 |
tree | 6f5ce9b4d91cab8cbc8cbf304b411492120fc505 | |
parent | 82df4d38a0194ad1804d1ab4716577d194be5a53 [diff] |
mwifiex: remove unreachable code In disconnected state "iw dev mlan0 link" command will return from cfg80211 stack itself. We also have an error check in mwifiex_cfg80211_get_station() routine. Therefore the code under "if (!priv->media_connected)" condition in mwifiex_rate_ioctl_get_rate_value() routine becomes unreachable. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>