lkml.org 
[lkml]   [2021]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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@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
\
 
 \ /
  Last update: 2021-09-14 01:03    [W:0.044 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site