[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210913230211.GA63982@peggy-InsydeH2O-EFI-BIOS>
Date: Tue, 14 Sep 2021 00:02:11 +0100
From: Tawah Peggy <tawahpeggy98@...il.com>
To: Kroah-Hartman <greg@...ah.com>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] staging: wlan-ng: cfg80211: replace
ieee80211_frequency_to_channel with ieee80211_freq_to_channel.
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@...il.com>
---
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
Powered by blists - more mailing lists