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
..
2020-03-30 16:04:25 +00:00
2020-06-15 16:35:27 +00:00
2020-02-03 17:35:11 +00:00
2020-09-03 05:25:39 +00:00
2020-08-11 05:17:10 +00:00
2020-08-06 21:01:26 +00:00
2020-04-18 02:52:59 +00:00
2020-07-01 00:33:16 +00:00
2020-02-03 17:35:11 +00:00
2020-08-12 09:49:25 +00:00
2020-02-12 00:58:17 +00:00
2020-06-22 07:46:24 +00:00
2020-03-30 16:04:25 +00:00
2020-06-14 16:47:16 +00:00
2020-03-24 21:28:48 +00:00
2020-04-18 02:53:09 +00:00
2020-02-03 17:35:11 +00:00
2020-08-21 19:34:41 +00:00
2020-08-31 15:03:23 +00:00
2019-12-26 17:25:51 +00:00
2020-06-21 03:39:26 +00:00
2020-02-07 19:53:07 +00:00
2019-10-21 18:07:11 +00:00
2020-09-03 02:17:55 +00:00
2020-08-01 09:40:19 +00:00
2020-03-30 16:04:25 +00:00
2020-06-14 16:47:16 +00:00
2019-10-21 18:07:40 +00:00
2019-10-21 18:07:44 +00:00