mwifiex: remove unnecessary mwifiex_dump_station_info() call
authorAmitkumar Karwar <akarwar@marvell.com>
Tue, 27 Sep 2011 03:37:23 +0000 (20:37 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Sep 2011 19:56:59 +0000 (15:56 -0400)
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>
drivers/net/wireless/mwifiex/cfg80211.c

index 0ddcdca..a7c773e 100644 (file)
@@ -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))