From: Zhao, Gang Date: Tue, 18 Feb 2014 15:03:27 +0000 (+0800) Subject: staging: wlan-ng: replace function ieee80211_dsss_chan_to_freq() X-Git-Tag: v3.15-rc1~139^2~1006 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e5e9d7c66f045558d5f70f640de0093fcd875e8;p=pandora-kernel.git staging: wlan-ng: replace function ieee80211_dsss_chan_to_freq() Replace ieee80211_dsss_chan_to_freq() with more generic ieee80211_channel_to_frequency(), and add a variable to deal with 80 characters problem. File cfg80211.c is included by p80211netdev.c, p80211netdev.c includes , both ieee80211_channel_to_frequency() and IEEE80211_BAND_2GHZ is defined / declared in . So this change is safe. 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: Greg Kroah-Hartman --- Reading git-diff-tree failed