opnsense-src/sys/dev/ath
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
..
ath_dfs/null ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ath_hal ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ath_rate ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ah_osdep.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ah_osdep.h
ah_osdep_ar5210.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ah_osdep_ar5211.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ah_osdep_ar5212.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ah_osdep_ar5416.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
ah_osdep_ar9300.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
if_ath.c WiFi: fix ieee80211_media_change() callers 2020-09-07 15:35:40 +00:00
if_ath_ahb.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
if_ath_alq.c
if_ath_alq.h
if_ath_beacon.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
if_ath_beacon.h ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
if_ath_btcoex.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
if_ath_btcoex.h
if_ath_btcoex_mci.c
if_ath_btcoex_mci.h
if_ath_debug.c
if_ath_debug.h
if_ath_descdma.c
if_ath_descdma.h
if_ath_dfs.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
if_ath_drv.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
if_ath_ioctl.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
if_ath_ioctl.h
if_ath_keycache.c
if_ath_keycache.h
if_ath_led.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
if_ath_led.h
if_ath_lna_div.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
if_ath_lna_div.h
if_ath_misc.h [ath] [ath_hal] Propagate the HAL_RESET_TYPE through to the chip reset; set it during ath_reset() 2020-05-25 22:31:45 +00:00
if_ath_pci.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
if_ath_pci_devlist.h ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
if_ath_rate.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
if_ath_rx.c [if_ath] Don't update the beacon bits from beacon frames in hostapd mode. 2020-06-07 05:08:44 +00:00
if_ath_rx.h
if_ath_rx_edma.c [ath] Hopefully recover better-er upon RX restart on AR9380. 2020-05-21 04:35:12 +00:00
if_ath_rx_edma.h
if_ath_spectral.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
if_ath_spectral.h
if_ath_sysctl.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
if_ath_sysctl.h
if_ath_tdma.c
if_ath_tdma.h
if_ath_tsf.h
if_ath_tx.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
if_ath_tx.h ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
if_ath_tx_edma.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
if_ath_tx_edma.h
if_ath_tx_ht.c ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
if_ath_tx_ht.h
if_athdfs.h
if_athioctl.h ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00
if_athrate.h [ath_rate_sample] Limit the tx schedules for A-MPDU ; don't take short retries 2020-05-16 05:07:45 +00:00
if_athvar.h ath: clean up empty lines in .c and .h files 2020-09-01 21:41:07 +00:00