Search Linux Wireless

[PATCH 0/7] api clean: ieee80211_{dsss_chan_to_freq, freq_to_dsss_chan}

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux