Permalink
Browse files

remove unnecessary prints in cfg80211.c

  • Loading branch information...
DanielAW committed Oct 26, 2016
1 parent 353899e commit da4b58c2090c52e2ed283bf8b707ce7e809e7795
Showing with 1 addition and 8 deletions.
  1. +1 −8 firmware_patching/nexmon/brcmfmac/cfg80211.c
@@ -651,7 +651,6 @@ static struct wireless_dev *brcmf_cfg80211_add_iface(struct wiphy *wiphy,
case NL80211_IFTYPE_WDS:
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MESH_POINT:
brcmf_err("%s: EOPNOTSUPP\n", __FUNCTION__);
return ERR_PTR(-EOPNOTSUPP);
case NL80211_IFTYPE_AP:
wdev = brcmf_ap_add_vif(wiphy, name, flags, params);
@@ -779,7 +778,6 @@ int brcmf_cfg80211_del_iface(struct wiphy *wiphy, struct wireless_dev *wdev)
case NL80211_IFTYPE_WDS:
case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MESH_POINT:
brcmf_err("%s: EOPNOTSUPP\n", __FUNCTION__);
return -EOPNOTSUPP;
case NL80211_IFTYPE_P2P_CLIENT:
case NL80211_IFTYPE_P2P_GO:
@@ -789,7 +787,6 @@ int brcmf_cfg80211_del_iface(struct wiphy *wiphy, struct wireless_dev *wdev)
default:
return -EINVAL;
}
brcmf_err("%s 2: EOPNOTSUPP\n", __FUNCTION__);
return -EOPNOTSUPP;
}
@@ -833,7 +830,6 @@ brcmf_cfg80211_change_iface(struct wiphy *wiphy, struct net_device *ndev,
* fail/lock.
*/
if (cfg->p2p.p2pdev_dynamically) {
brcmf_err("%s: EOPNOTSUPP\n", __FUNCTION__);
return -EOPNOTSUPP;
} else {
return 0;
@@ -852,7 +848,7 @@ brcmf_cfg80211_change_iface(struct wiphy *wiphy, struct net_device *ndev,
case NL80211_IFTYPE_WDS:
brcmf_err("type (%d) : currently we do not support this type\n",
type);
return -EOPNOTSUPP;
return -EOPNOTSUPP;
case NL80211_IFTYPE_ADHOC:
infra = 0;
break;
@@ -1334,7 +1330,6 @@ brcmf_cfg80211_join_ibss(struct wiphy *wiphy, struct net_device *ndev,
brcmf_dbg(CONN, "SSID: %s\n", params->ssid);
else {
brcmf_dbg(CONN, "SSID: NULL, Not supported\n");
brcmf_err("%s: EOPNOTSUPP\n", __FUNCTION__);
return -EOPNOTSUPP;
}
@@ -2368,7 +2363,6 @@ brcmf_cfg80211_config_default_mgmt_key(struct wiphy *wiphy,
{
brcmf_dbg(INFO, "Not supported\n");
brcmf_err("%s: EOPNOTSUPP\n", __FUNCTION__);
return -EOPNOTSUPP;
}
@@ -2578,7 +2572,6 @@ brcmf_cfg80211_dump_station(struct wiphy *wiphy, struct net_device *ndev,
brcmf_err("BRCMF_C_GET_ASSOCLIST unsupported, err=%d\n",
err);
cfg->assoclist.count = 0;
brcmf_err("%s: EOPNOTSUPP\n", __FUNCTION__);
return -EOPNOTSUPP;
}
}

0 comments on commit da4b58c

Please sign in to comment.