From: Zhao, Gang Date: Tue, 18 Feb 2014 13:36:01 +0000 (+0800) Subject: zd1201: replace function ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan} X-Git-Tag: v3.15-rc1~113^2~159^2^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d54b9052c08a473f56cbed6a0bb4c900c948474;p=pandora-kernel.git zd1201: 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}. Function ieee80211_frequency_to_channel() will return 0 if frequency is not correctly provided, so no need to set channel to 0 explicitly. Include for the defination of IEEE80211_BAND_2GHZ. Because includes , so we can replace with . This change is a preparation for the removal of function ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan}. Signed-off-by: Zhao, Gang Signed-off-by: John W. Linville --- Reading git-diff-tree failed