Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328247
b: refs/heads/master
c: 95f59e8
h: refs/heads/master
i:
  328245: 328a49f
  328243: 6b8fd52
  328239: 7c91b3b
v: v3
  • Loading branch information
Hante Meuleman authored and John W. Linville committed Sep 24, 2012
1 parent e9c9cdb commit a2e7f99
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 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: 4754fceeb9a6cd04e5d51659a8309e9e623a09a6
refs/heads/master: 95f59e8cbdf17aa5ba4db3fae3662c74640eed1b
17 changes: 0 additions & 17 deletions trunk/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -4706,20 +4706,3 @@ s32 brcmf_cfg80211_down(struct brcmf_cfg80211_dev *cfg_dev)
return err;
}

static __used s32 brcmf_add_ie(struct brcmf_cfg80211_priv *cfg_priv,
u8 t, u8 l, u8 *v)
{
struct brcmf_cfg80211_ie *ie = &cfg_priv->ie;
s32 err = 0;

if (ie->offset + l + 2 > WL_TLV_INFO_MAX) {
WL_ERR("ei crosses buffer boundary\n");
return -ENOSPC;
}
ie->buf[ie->offset] = t;
ie->buf[ie->offset + 1] = l;
memcpy(&ie->buf[ie->offset + 2], v, l);
ie->offset += l + 2;

return err;
}

0 comments on commit a2e7f99

Please sign in to comment.