Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352582
b: refs/heads/master
c: 1f17011
h: refs/heads/master
v: v3
  • Loading branch information
Hante Meuleman authored and John W. Linville committed Feb 8, 2013
1 parent 5268afb commit a8bea7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4412f6cb8139a4503f77b67c3b6a18883a4b6191
refs/heads/master: 1f17011039f0d53f24503a01a1dcd48ae28e5305
6 changes: 2 additions & 4 deletions trunk/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -2968,9 +2968,8 @@ static int brcmf_cfg80211_testmode(struct wiphy *wiphy, void *data, int len)
}
#endif

static s32 brcmf_configure_opensecurity(struct net_device *ndev, s32 bssidx)
static s32 brcmf_configure_opensecurity(struct brcmf_if *ifp)
{
struct brcmf_if *ifp = netdev_priv(ndev);
s32 err;

/* set auth */
Expand Down Expand Up @@ -3433,7 +3432,6 @@ brcmf_cfg80211_start_ap(struct wiphy *wiphy, struct net_device *ndev,
struct brcmf_tlv *rsn_ie;
struct brcmf_vs_tlv *wpa_ie;
struct brcmf_join_params join_params;
s32 bssidx = 0;

brcmf_dbg(TRACE, "channel_type=%d, beacon_interval=%d, dtim_period=%d,\n",
cfg80211_get_chandef_type(&settings->chandef),
Expand Down Expand Up @@ -3507,7 +3505,7 @@ brcmf_cfg80211_start_ap(struct wiphy *wiphy, struct net_device *ndev,
}
} else {
brcmf_dbg(TRACE, "No WPA(2) IEs found\n");
brcmf_configure_opensecurity(ndev, bssidx);
brcmf_configure_opensecurity(ifp);
}
/* Set Beacon IEs to FW */
err = brcmf_vif_set_mgmt_ie(ndev_to_vif(ndev),
Expand Down

0 comments on commit a8bea7d

Please sign in to comment.