mirror of https://gitee.com/openkylin/linux.git
mwifiex: remove misleading disconnect message
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>
This commit is contained in:
parent
99ffe72cda
commit
5536c4aafc
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue