staging: wfx: fix ambiguous function name
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Thu, 13 Jan 2022 08:55:06 +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-14-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/data_tx.c

index 5492375fe80ab0c8116ebee5b424faa14124ad58..9ff9cca5eb669d58eb2b54cc58683660e7aaf463 100644 (file)
@@ -207,7 +207,7 @@ void wfx_tx_policy_init(struct wfx_vif *wvif)
 
 /* Tx implementation */
 
-static bool ieee80211_is_action_back(struct ieee80211_hdr *hdr)
+static bool wfx_is_action_back(struct ieee80211_hdr *hdr)
 {
        struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)hdr;
 
@@ -420,7 +420,7 @@ void wfx_tx(struct ieee80211_hw *hw, struct ieee80211_tx_control *control,
        /* Because of TX_AMPDU_SETUP_IN_HW, mac80211 does not try to send any
         * BlockAck session management frame. The check below exist just in case.
         */
-       if (ieee80211_is_action_back(hdr)) {
+       if (wfx_is_action_back(hdr)) {
                dev_info(wdev->dev, "drop BA action\n");
                goto drop;
        }