mwifiex: pass correct band parameter to ieee80211_channel_to_frequency()
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 22 Sep 2011 04:43:24 +0000 (21:43 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Sep 2011 18:34:03 +0000 (14:34 -0400)
commit4ed5d521b062b7256dcfe46a3194f89ff44fdc66
tree76e9cf45205f50519ba05bcd6aefce081c89cd86
parent5116f3cef206e7fcd6023ba8595a6321f33c2044
mwifiex: pass correct band parameter to ieee80211_channel_to_frequency()

ieee80211_channel_to_frequency() routine expects band parameter in
the form of "enum ieee80211_band band". Currently driver specific
band (BAND_A, BAND_AN etc.) is passed to the routine.

This patch makes sure that correct parameter is passed.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c
drivers/net/wireless/mwifiex/sta_ioctl.c