orinoco: replace function ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan}
authorZhao, Gang <gamerh2o@gmail.com>
Wed, 19 Feb 2014 08:58:43 +0000 (16:58 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Feb 2014 19:12:36 +0000 (14:12 -0500)
commit13c1ac5703d5507da9422377819d5d1e4e550173
tree392ed27d0fc5cd6057759d5d697c7cfd568956bc
parent3d54b9052c08a473f56cbed6a0bb4c900c948474
orinoco: replace function ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan}

Replace ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan} with more
generic ieee80211_{channel_to_frequency, frequency_to_channel}.

File <net/cfg80211.h> has already been included. It's safe to use
IEEE80211_BAND_2GHZ here.

This change is a preparation for the removal of function
ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan}.

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/orinoco/cfg.c
drivers/net/wireless/orinoco/hw.c
drivers/net/wireless/orinoco/scan.c
drivers/net/wireless/orinoco/wext.c