URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0975bf792a5609157349053385badca1f9c29cd7
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
0975bf7 by Guy Harris (guy@xxxxxxxxxxxx):
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@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@xxxxxxxxx>
Actions performed:
from 8e50074 QT/UI: Fix shortcut
add 0975bf7 Handle -k better on platforms that don't support it.
Summary of changes:
caputils/ws80211_utils.c | 8 ++++----
caputils/ws80211_utils.h | 7 ++++++-
dumpcap.c | 19 ++++++++++++-------
ui/qt/wireless_frame.cpp | 2 +-
4 files changed, 23 insertions(+), 13 deletions(-)