From 2096c006aa33f1b49f601f8142fee6615fe2e7f0 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 5 Nov 2015 14:55:34 -0800 Subject: Get rid of ws80211_frequency_to_channel(). Use ieee80211_mhz_to_chan() instead. Change-Id: I1d9a3b9c3a5ad2b1a5bd3f8d10b7f8b1bbcba51d Reviewed-on: https://code.wireshark.org/review/11586 Reviewed-by: Guy Harris --- caputils/ws80211_utils.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'caputils/ws80211_utils.h') diff --git a/caputils/ws80211_utils.h b/caputils/ws80211_utils.h index 4086f50431..da4ed42065 100644 --- a/caputils/ws80211_utils.h +++ b/caputils/ws80211_utils.h @@ -87,13 +87,6 @@ int ws80211_get_iface_info(const char *name, struct ws80211_iface_info *iface_in */ void ws80211_free_interfaces(GArray *interfaces); -/** Convert a frequency to a channel number - * - * @param freq Frequency in MHz. - * @return The 802.11 channel number matching the provided frequency. - */ -int ws80211_frequency_to_channel(int freq); - /** Set the frequency and channel width for an interface. * * @param name The interface name. -- cgit v1.2.1