From: "Zhao, Gang" <gamerh2o@gmail.com>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: <linux-wireless@vger.kernel.org>
Subject: [PATCH 0/7] api clean: ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan}
Date: Tue, 18 Feb 2014 21:35:56 +0800 [thread overview]
Message-ID: <cover.1392728354.git.gamerh2o@gmail.com> (raw)
This patch set's purpose is to remove function
ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan}, by replacing them
with more generic function ieee80211_{channel_to_frequency,
frequency_to_channel}.
The error number they return is different. the 'dsss' one return -1,
the other return zero. Fortunately most of the code have correct error
check to handle both situation. Good luck to those code which never
check the return value.
By the way, this patch set only compile tested.
Zhao, Gang (7):
airo: replace function ieee80211_{dsss_chan_to_freq,
freq_to_dsss_chan}
atmel: replace function ieee80211_{dsss_chan_to_freq,
freq_to_dsss_chan}
wl3501_cs: replace function ieee80211_{dsss_chan_to_freq,
freq_to_dsss_chan}
rndis_wlan: replace function ieee80211_{dsss_chan_to_freq,
freq_to_dsss_chan}
zd1201: replace function ieee80211_{dsss_chan_to_freq,
freq_to_dsss_chan}
orinoco: replace function ieee80211_{dsss_chan_to_freq,
freq_to_dsss_chan}
ieee80211: remove function ieee80211_{dsss_chan_to_freq,
freq_to_dsss_chan}
drivers/net/wireless/airo.c | 13 ++++++++-----
drivers/net/wireless/atmel.c | 8 ++++----
drivers/net/wireless/orinoco/cfg.c | 4 ++--
drivers/net/wireless/orinoco/hw.c | 2 +-
drivers/net/wireless/orinoco/scan.c | 5 +++--
drivers/net/wireless/orinoco/wext.c | 2 +-
drivers/net/wireless/rndis_wlan.c | 3 ++-
drivers/net/wireless/wl3501_cs.c | 5 +++--
drivers/net/wireless/zd1201.c | 9 +++------
include/linux/ieee80211.h | 36 ------------------------------------
10 files changed, 27 insertions(+), 60 deletions(-)
--
1.8.5.3
next reply other threads:[~2014-02-18 13:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-18 13:35 Zhao, Gang [this message]
2014-02-18 13:35 ` [PATCH 1/7] airo: replace function ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan} Zhao, Gang
2014-02-18 13:35 ` [PATCH 2/7] atmel: " Zhao, Gang
2014-02-18 13:35 ` [PATCH 3/7] wl3501_cs: " Zhao, Gang
2014-02-18 13:36 ` [PATCH 4/7] rndis_wlan: " Zhao, Gang
2014-02-18 13:36 ` [PATCH 5/7] zd1201: " Zhao, Gang
2014-02-18 13:36 ` [PATCH 6/7] orinoco: " Zhao, Gang
2014-02-19 8:33 ` Dave Kilroy
2014-02-19 8:58 ` [PATCH 6/7 v2] " Zhao, Gang
2014-02-18 13:36 ` [PATCH 7/7] ieee80211: remove " Zhao, Gang
2014-02-19 0:59 ` Zhao, Gang
2014-02-28 18:58 ` John W. Linville
2014-02-19 11:00 ` [PATCH 0/7] api clean: " Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1392728354.git.gamerh2o@gmail.com \
--to=gamerh2o@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).