From: Amitkumar Karwar <akarwar@xxxxxxxxxxx> After Bruno Randolf's recent code changes (commit 59eb21a6 "cfg80211: Extend channel to frequency mapping for 802.11j") ieee80211_channel_to_frequency() API expects an extra "band" parameter. Update the driver code to provide this extra parameter. Signed-off-by: Amitkumar Karwar <akarwar@xxxxxxxxxxx> Signed-off-by: Bing Zhao <bzhao@xxxxxxxxxxx> --- drivers/net/wireless/mwifiex/cfg80211.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c index c961e0f..45fabaa 100644 --- a/drivers/net/wireless/mwifiex/cfg80211.c +++ b/drivers/net/wireless/mwifiex/cfg80211.c @@ -916,7 +916,8 @@ mwifiex_cfg80211_inform_ibss_bss(struct mwifiex_private *priv) ie_len = ie_buf[1] + sizeof(struct ieee_types_header); chan = __ieee80211_get_channel(priv->wdev->wiphy, - ieee80211_channel_to_frequency(bss_info.bss_chan)); + ieee80211_channel_to_frequency(bss_info.bss_chan, + priv->curr_bss_params.band)); cfg80211_inform_bss(priv->wdev->wiphy, chan, bss_info.bssid, 0, WLAN_CAPABILITY_IBSS, -- 1.7.0.2 -- 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