Make ieee80211_add_ssid() public.
Some drivers use private copies of this. PR: kern/196116 Submitted by: Andriy Voskoboinyk <s3erios@gmail.com>
This commit is contained in:
parent
3f9e1172b7
commit
de981aecde
@ -1702,7 +1702,7 @@ ieee80211_add_xrates(uint8_t *frm, const struct ieee80211_rateset *rs)
|
||||
/*
|
||||
* Add an ssid element to a frame.
|
||||
*/
|
||||
static uint8_t *
|
||||
uint8_t *
|
||||
ieee80211_add_ssid(uint8_t *frm, const uint8_t *ssid, u_int len)
|
||||
{
|
||||
*frm++ = IEEE80211_ELEMID_SSID;
|
||||
|
@ -149,6 +149,7 @@ struct mbuf *ieee80211_alloc_cts(struct ieee80211com *,
|
||||
|
||||
uint8_t *ieee80211_add_rates(uint8_t *, const struct ieee80211_rateset *);
|
||||
uint8_t *ieee80211_add_xrates(uint8_t *, const struct ieee80211_rateset *);
|
||||
uint8_t *ieee80211_add_ssid(uint8_t *, const uint8_t *, u_int);
|
||||
uint8_t *ieee80211_add_wpa(uint8_t *, const struct ieee80211vap *);
|
||||
uint8_t *ieee80211_add_rsn(uint8_t *, const struct ieee80211vap *);
|
||||
uint8_t *ieee80211_add_qos(uint8_t *, const struct ieee80211_node *);
|
||||
|
Loading…
Reference in New Issue
Block a user