brcmsmac: use ieee80211_channel_to_frequency
authorJohannes Berg <johannes.berg@intel.com>
Tue, 24 Jul 2012 15:35:57 +0000 (17:35 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Aug 2012 18:56:29 +0000 (14:56 -0400)
commit858a455ba86b0b515d34972e68095ecd912c08cc
treea38c2f2ef1bf5308757394f3823e020a12e2f4e8
parentcaacf05e5ad1abf0a2864863da4e33024bc68ec6
brcmsmac: use ieee80211_channel_to_frequency

Instead of hard-coding almost the same functionality,
just use ieee80211_channel_to_frequency() directly.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/main.c
drivers/net/wireless/brcm80211/include/brcmu_wifi.h