staging: wfx: fix ambiguous function name
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Thu, 13 Jan 2022 08:55:05 +0000 (09:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jan 2022 15:19:41 +0000 (16:19 +0100)
The prefix 'ieee80211' is reserved for mac80211. It should not been
used.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20220113085524.1110708-13-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/scan.c

index 668ef2c608371dceb19580f77024025ef6b95f9c..a1fd0f850481fa2e1e66697afa733ae63da5411f 100644 (file)
@@ -12,8 +12,8 @@
 #include "sta.h"
 #include "hif_tx_mib.h"
 
-static void __ieee80211_scan_completed_compat(struct ieee80211_hw *hw,
-                                             bool aborted)
+static void wfx_ieee80211_scan_completed_compat(struct ieee80211_hw *hw,
+                                               bool aborted)
 {
        struct cfg80211_scan_info info = {
                .aborted = aborted,
@@ -120,7 +120,7 @@ void wfx_hw_scan_work(struct work_struct *work)
        } while (ret >= 0 && chan_cur < hw_req->req.n_channels);
        mutex_unlock(&wvif->scan_lock);
        mutex_unlock(&wvif->wdev->conf_mutex);
-       __ieee80211_scan_completed_compat(wvif->wdev->hw, ret < 0);
+       wfx_ieee80211_scan_completed_compat(wvif->wdev->hw, ret < 0);
 }
 
 int wfx_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif,