From: Amitkumar Karwar Date: Tue, 27 Sep 2011 03:37:23 +0000 (-0700) Subject: mwifiex: remove unnecessary mwifiex_dump_station_info() call X-Git-Tag: MMI-PSA29.97-13-9~18194^2~83^2~163 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=82df4d38a0194ad1804d1ab4716577d194be5a53;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- 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, { struct mwifiex_private *priv = mwifiex_netdev_get_priv(dev); - mwifiex_dump_station_info(priv, sinfo); - if (!priv->media_connected) return -ENOENT; if (memcmp(mac, priv->cfg_bssid, ETH_ALEN))