diff options
author | Shanyu Zhao <shanyu.zhao@intel.com> | 2010-07-28 13:40:27 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-08-24 16:32:01 -0400 |
commit | 81e95430aaa898799421617c2db2882386bab69a (patch) | |
tree | ba5aa860c8e6c63b9ae6257b8fbf71271ad39f2f /drivers/net/bfin_mac.c | |
parent | 7469701e10adb6bcc3d66544bd9f6d553fc678c9 (diff) |
iwlwifi: do not call ieee80211_frequency_to_channel
A few cases in iwlwifi driver function ieee80211_frequency_to_channel()
is called to get channel number from center frequency. This is not needed
since the channel number is already saved in hw_value field of struct
ieee80211_channel in function iwlcore_init_geos(). So replace those function
calls with hw_value field of struct ieee80211_channel.
Signed-off-by: Shanyu Zhao <shanyu.zhao@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/bfin_mac.c')
0 files changed, 0 insertions, 0 deletions