freebsd-dev/sys/dev/usb/wlan
Bjoern A. Zeeb c6167b4bf5 WiFi: fix ieee80211_media_change() callers
In r178354 with the introduction of multi-bss ("vap") support factoring
out started and with r193340 ieee80211_media_change() no longer returned
ENETRESET but only 0 or error.
As ieee80211(9) tells the ieee80211_media_change() function should not
be called directly but is registered with ieee80211_vap_attach() instead.

Some drivers have not been fully converted.  After fixing the return
checking some of these functions were simply wrappers between
ieee80211_vap_attach() and ieee80211_media_change(), so remove the extra
function, where possible as well.

PR:		248955
Submitted by:	Tong Zhang (ztong0001 gmail.com) (original)
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2020-09-07 15:35:40 +00:00
..
if_rsu.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
if_rsureg.h Fix ieee80211_radiotap(9) usage in wireless drivers: 2019-03-11 01:27:01 +00:00
if_rum.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) 2020-02-15 18:52:12 +00:00
if_rumfw.h
if_rumreg.h usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
if_rumvar.h Fix ieee80211_radiotap(9) usage in wireless drivers: 2019-03-11 01:27:01 +00:00
if_run.c WiFi: fix ieee80211_media_change() callers 2020-09-07 15:35:40 +00:00
if_runreg.h usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
if_runvar.h [run] Fix up tx/rx frame size. 2020-06-03 22:30:44 +00:00
if_uath.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (2 of many) 2020-02-15 18:52:12 +00:00
if_uathreg.h
if_uathvar.h Fix ieee80211_radiotap(9) usage in wireless drivers: 2019-03-11 01:27:01 +00:00
if_upgt.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
if_upgtvar.h Fix ieee80211_radiotap(9) usage in wireless drivers: 2019-03-11 01:27:01 +00:00
if_ural.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
if_uralreg.h usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
if_uralvar.h usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
if_urtw.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
if_urtwreg.h
if_urtwvar.h urtw(4): export TSF timestamp for received frames via radiotap 2019-03-30 09:24:06 +00:00
if_zyd.c usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00
if_zydfw.h
if_zydreg.h usb: clean up empty lines in .c and .h files 2020-09-01 21:26:44 +00:00