]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mwifiex: remove misleading disconnect message
authorAmitkumar Karwar <akarwar@marvell.com>
Mon, 25 Jul 2016 15:51:09 +0000 (21:21 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 3 Sep 2016 09:57:17 +0000 (12:57 +0300)
Disconnect message in mwifiex_reset_connect_state() would displays
necessary information. We unnecessarily have exactly same message in
cfg80211_disconnect(). As priv->cfg_bssid is cleared at this point of
time, it prints incorrect(all zero) MAC.

This message is removed here.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/cfg80211.c

index 871ad8a9868f94f276afc54385213d866902d2eb..235fb3931e0c3a659a4a686d81dfc66b887548ae 100644 (file)
@@ -2012,10 +2012,6 @@ mwifiex_cfg80211_disconnect(struct wiphy *wiphy, struct net_device *dev,
        if (mwifiex_deauthenticate(priv, NULL))
                return -EFAULT;
 
-       mwifiex_dbg(priv->adapter, MSG,
-                   "info: successfully disconnected from %pM:\t"
-                   "reason code %d\n", priv->cfg_bssid, reason_code);
-
        eth_zero_addr(priv->cfg_bssid);
        priv->hs2_enabled = false;