mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Hook ieee80211_media_change() to ieee80211_vap_attach().
Approved by: rpaulo (mentor) MFC after: 2 weeks
This commit is contained in:
parent
036be13d96
commit
0a9125c9d6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=206476
@ -787,8 +787,7 @@ iwn_vap_create(struct ieee80211com *ic,
|
||||
|
||||
ieee80211_ratectl_init(vap);
|
||||
/* Complete setup. */
|
||||
ieee80211_vap_attach(vap, ieee80211_media_change,
|
||||
ieee80211_media_status);
|
||||
ieee80211_vap_attach(vap, iwn_media_change, ieee80211_media_status);
|
||||
ic->ic_opmode = opmode;
|
||||
return vap;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user