[PATCH] staging: wlan-ng: cfg80211: replace ieee80211_frequency_to_channel with ieee80211_freq_to_channel.
From: Tawah Peggy
Date: Mon Sep 13 2021 - 19:02:22 EST
This patch changes ieee80211_frequency_to_channel(channel->center_freq)
to ieee80211_frequency_to_channel(channel->center_freq) because the
function name has originally been changed in a patch in other to fix a
checkpatch error.
Signed-off-by: Tawah Peggy <tawahpeggy98@xxxxxxxxx>
---
drivers/staging/wlan-ng/cfg80211.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c
index 711c88c59e78..d00f1c48e1a9 100644
--- a/drivers/staging/wlan-ng/cfg80211.c
+++ b/drivers/staging/wlan-ng/cfg80211.c
@@ -448,7 +448,7 @@ static int prism2_connect(struct wiphy *wiphy, struct net_device *dev,
/* Set the channel */
if (channel) {
- chan = ieee80211_frequency_to_channel(channel->center_freq);
+ chan = ieee80211_freq_to_channel(channel->center_freq);
result = prism2_domibset_uint32(wlandev,
DIDMIB_DOT11PHY_DSSSTABLE_CURRENTCHANNEL,
chan);
--
2.25.1