wireshark/caputils
Guy Harris 0975bf792a Handle -k better on platforms that don't support it.
Have ws80211_init() return an indication that channel setting isn't
supported on those platforms.

In dumpcap, try to set up ws80211 before checking the channel argument
and, if it fails, report the failure, rather than failing because the
"convert channel name to channel code" routine fails.

See

    https://ask.wireshark.org/question/15535/dumpcap-k-is-not-accepting-channel-type-values/

for an example of confusion caused by the previous behavior.

Change-Id: I303f560704700bbcd4f0ecea041f8632744212f3
Reviewed-on: https://code.wireshark.org/review/36659
Petri-Dish: Guy Harris <gharris@sonic.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@sonic.net>
2020-04-01 20:31:14 +00:00
..
.editorconfig HTTPS In More Places, update some URLs. 2019-07-27 07:55:36 +00:00
CMakeLists.txt HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
airpcap.h Doxygen: Try to fix reported warnings. 2019-07-10 12:48:21 +00:00
airpcap_loader.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
airpcap_loader.h Fix comment end after SPDX identifier 2018-05-01 06:56:37 +00:00
capture-pcap-util-int.h Put common code into get_interface_list_findalldevs_ex(). 2020-03-15 10:13:39 +00:00
capture-pcap-util-unix.c Put common code into get_interface_list_findalldevs_ex(). 2020-03-15 10:13:39 +00:00
capture-pcap-util.c Put common code into get_interface_list_findalldevs_ex(). 2020-03-15 10:13:39 +00:00
capture-pcap-util.h Fix some places where we forgot to mention Npcap. 2020-03-12 18:59:44 +00:00
capture-wpcap.c capture-wpcap: gracefully exit when has_wpcap is false. 2020-03-15 23:27:29 +00:00
capture-wpcap.h Convert WinPcap references to Npcap. 2019-02-08 20:29:06 +00:00
capture_ifinfo.h Fix some places where we forgot to mention Npcap. 2020-03-12 18:59:44 +00:00
capture_win_ifnames.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
capture_win_ifnames.h Fix comment end after SPDX identifier 2018-05-01 06:56:37 +00:00
capture_wpcap_packet.c Fix some places where we forgot to mention Npcap. 2020-03-12 18:59:44 +00:00
capture_wpcap_packet.h Fix comment end after SPDX identifier 2018-05-01 06:56:37 +00:00
iface_monitor.c make interface update libnl1 compatible 2019-08-11 20:20:34 +00:00
iface_monitor.h Remove the periodic interface update in wireless toolbar 2019-03-08 07:30:04 +00:00
ws80211_utils.c Handle -k better on platforms that don't support it. 2020-04-01 20:31:14 +00:00
ws80211_utils.h Handle -k better on platforms that don't support it. 2020-04-01 20:31:14 +00:00