]> git.openfabrics.org - ~emulex/infiniband.git/commit
atmel: replace function ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan}
authorZhao, Gang <gamerh2o@gmail.com>
Tue, 18 Feb 2014 13:35:58 +0000 (21:35 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Feb 2014 19:11:13 +0000 (14:11 -0500)
commit61e5487b34d3831fcc0db1308643f4a5dc465ae1
tree35aef15df9524efd2c879591abd1430e466924be
parente0febf14888b450225405d05beb4ae1c9e131594
atmel: 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}.

Include <net/cfg80211.h> for the defination of IEEE80211_BAND_2GHZ.
Because <net/cfg80211.h> includes <linux/ieee80211.h>, so we can
replace <linux/ieee80211.h> with <net/cfg80211.h>.

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

Cc: Simon Kelley <simon@thekelleys.org.uk>
Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/atmel.c