All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: wlan-ng: cfg80211: replace ieee80211_frequency_to_channel with ieee80211_freq_to_channel.
@ 2021-09-13 23:02 Tawah Peggy
  2021-09-14  4:28 ` Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Tawah Peggy @ 2021-09-13 23:02 UTC (permalink / raw)
  To: Kroah-Hartman; +Cc: linux-kernel

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@gmail.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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-14  4:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-13 23:02 [PATCH] staging: wlan-ng: cfg80211: replace ieee80211_frequency_to_channel with ieee80211_freq_to_channel Tawah Peggy
2021-09-14  4:28 ` Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.