diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2011-09-26 23:37:23 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-30 15:56:59 -0400 |
commit | 82df4d38a0194ad1804d1ab4716577d194be5a53 (patch) | |
tree | bb3483d36683c652240a4d1a182af72d7520e9c0 /drivers | |
parent | f73c604cfbf7f611e3ec129a0548fcbe8574d180 (diff) |
mwifiex: remove unnecessary mwifiex_dump_station_info() call
An extra call to mwifiex_dump_station_info() routine in get_station
callback function is redundant
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/mwifiex/cfg80211.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c index 0ddcdca63cf7..a7c773ebfe2f 100644 --- a/drivers/net/wireless/mwifiex/cfg80211.c +++ b/drivers/net/wireless/mwifiex/cfg80211.c | |||
@@ -565,8 +565,6 @@ mwifiex_cfg80211_get_station(struct wiphy *wiphy, struct net_device *dev, | |||
565 | { | 565 | { |
566 | struct mwifiex_private *priv = mwifiex_netdev_get_priv(dev); | 566 | struct mwifiex_private *priv = mwifiex_netdev_get_priv(dev); |
567 | 567 | ||
568 | mwifiex_dump_station_info(priv, sinfo); | ||
569 | |||
570 | if (!priv->media_connected) | 568 | if (!priv->media_connected) |
571 | return -ENOENT; | 569 | return -ENOENT; |
572 | if (memcmp(mac, priv->cfg_bssid, ETH_ALEN)) | 570 | if (memcmp(mac, priv->cfg_bssid, ETH_ALEN)) |