0975bf792a
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> |
||
---|---|---|
.. | ||
.editorconfig | ||
airpcap.h | ||
airpcap_loader.c | ||
airpcap_loader.h | ||
capture-pcap-util-int.h | ||
capture-pcap-util-unix.c | ||
capture-pcap-util.c | ||
capture-pcap-util.h | ||
capture-wpcap.c | ||
capture-wpcap.h | ||
capture_ifinfo.h | ||
capture_win_ifnames.c | ||
capture_win_ifnames.h | ||
capture_wpcap_packet.c | ||
capture_wpcap_packet.h | ||
CMakeLists.txt | ||
iface_monitor.c | ||
iface_monitor.h | ||
ws80211_utils.c | ||
ws80211_utils.h |