linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] api clean: ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan}
@ 2014-02-18 13:35 Zhao, Gang
  2014-02-18 13:35 ` [PATCH 1/7] airo: replace function " Zhao, Gang
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Zhao, Gang @ 2014-02-18 13:35 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-wireless

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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-02-28 19:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-18 13:35 [PATCH 0/7] api clean: ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan} Zhao, Gang
2014-02-18 13:35 ` [PATCH 1/7] airo: replace function " 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

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).