Skip to content

Commit

Permalink
remove unnecessary prints in cfg80211.c
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielAW committed Oct 26, 2016
1 parent 353899e commit da4b58c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions firmware_patching/nexmon/brcmfmac/cfg80211.c
Expand Up @@ -651,7 +651,6 @@ static struct wireless_dev *brcmf_cfg80211_add_iface(struct wiphy *wiphy,
case NL80211_IFTYPE_WDS: case NL80211_IFTYPE_WDS:
case NL80211_IFTYPE_MONITOR: case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MESH_POINT: case NL80211_IFTYPE_MESH_POINT:
brcmf_err("%s: EOPNOTSUPP\n", __FUNCTION__);
return ERR_PTR(-EOPNOTSUPP); return ERR_PTR(-EOPNOTSUPP);
case NL80211_IFTYPE_AP: case NL80211_IFTYPE_AP:
wdev = brcmf_ap_add_vif(wiphy, name, flags, params); wdev = brcmf_ap_add_vif(wiphy, name, flags, params);
Expand Down Expand Up @@ -779,7 +778,6 @@ int brcmf_cfg80211_del_iface(struct wiphy *wiphy, struct wireless_dev *wdev)
case NL80211_IFTYPE_WDS: case NL80211_IFTYPE_WDS:
case NL80211_IFTYPE_MONITOR: case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_MESH_POINT: case NL80211_IFTYPE_MESH_POINT:
brcmf_err("%s: EOPNOTSUPP\n", __FUNCTION__);
return -EOPNOTSUPP; return -EOPNOTSUPP;
case NL80211_IFTYPE_P2P_CLIENT: case NL80211_IFTYPE_P2P_CLIENT:
case NL80211_IFTYPE_P2P_GO: case NL80211_IFTYPE_P2P_GO:
Expand All @@ -789,7 +787,6 @@ int brcmf_cfg80211_del_iface(struct wiphy *wiphy, struct wireless_dev *wdev)
default: default:
return -EINVAL; return -EINVAL;
} }
brcmf_err("%s 2: EOPNOTSUPP\n", __FUNCTION__);
return -EOPNOTSUPP; return -EOPNOTSUPP;
} }


Expand Down Expand Up @@ -833,7 +830,6 @@ brcmf_cfg80211_change_iface(struct wiphy *wiphy, struct net_device *ndev,
* fail/lock. * fail/lock.
*/ */
if (cfg->p2p.p2pdev_dynamically) { if (cfg->p2p.p2pdev_dynamically) {
brcmf_err("%s: EOPNOTSUPP\n", __FUNCTION__);
return -EOPNOTSUPP; return -EOPNOTSUPP;
} else { } else {
return 0; return 0;
Expand All @@ -852,7 +848,7 @@ brcmf_cfg80211_change_iface(struct wiphy *wiphy, struct net_device *ndev,
case NL80211_IFTYPE_WDS: case NL80211_IFTYPE_WDS:
brcmf_err("type (%d) : currently we do not support this type\n", brcmf_err("type (%d) : currently we do not support this type\n",
type); type);
return -EOPNOTSUPP; return -EOPNOTSUPP;
case NL80211_IFTYPE_ADHOC: case NL80211_IFTYPE_ADHOC:
infra = 0; infra = 0;
break; break;
Expand Down Expand Up @@ -1334,7 +1330,6 @@ brcmf_cfg80211_join_ibss(struct wiphy *wiphy, struct net_device *ndev,
brcmf_dbg(CONN, "SSID: %s\n", params->ssid); brcmf_dbg(CONN, "SSID: %s\n", params->ssid);
else { else {
brcmf_dbg(CONN, "SSID: NULL, Not supported\n"); brcmf_dbg(CONN, "SSID: NULL, Not supported\n");
brcmf_err("%s: EOPNOTSUPP\n", __FUNCTION__);
return -EOPNOTSUPP; return -EOPNOTSUPP;
} }


Expand Down Expand Up @@ -2368,7 +2363,6 @@ brcmf_cfg80211_config_default_mgmt_key(struct wiphy *wiphy,
{ {
brcmf_dbg(INFO, "Not supported\n"); brcmf_dbg(INFO, "Not supported\n");


brcmf_err("%s: EOPNOTSUPP\n", __FUNCTION__);
return -EOPNOTSUPP; return -EOPNOTSUPP;
} }


Expand Down Expand Up @@ -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", brcmf_err("BRCMF_C_GET_ASSOCLIST unsupported, err=%d\n",
err); err);
cfg->assoclist.count = 0; cfg->assoclist.count = 0;
brcmf_err("%s: EOPNOTSUPP\n", __FUNCTION__);
return -EOPNOTSUPP; return -EOPNOTSUPP;
} }
} }
Expand Down

0 comments on commit da4b58c

Please sign in to comment.