freebsd-skq/sys/dev/bwi
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
..
bitops.h
bwimac.c bwi: clean up empty lines in .c and .h files 2020-09-01 21:43:36 +00:00
bwimac.h
bwiphy.c bwi: clean up empty lines in .c and .h files 2020-09-01 21:43:36 +00:00
bwiphy.h
bwirf.c bwi: clean up empty lines in .c and .h files 2020-09-01 21:43:36 +00:00
bwirf.h
if_bwi_pci.c bwi: clean up empty lines in .c and .h files 2020-09-01 21:43:36 +00:00
if_bwi.c WiFi: fix ieee80211_media_change() callers 2020-09-07 15:35:40 +00:00
if_bwireg.h bwi: clean up empty lines in .c and .h files 2020-09-01 21:43:36 +00:00
if_bwivar.h Fix ieee80211_radiotap(9) usage in wireless drivers: 2019-03-11 01:27:01 +00:00