[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
<SA2PR10MB44606485C05B0FC57402C40FA6D1A@SA2PR10MB4460.namprd10.prod.outlook.com>
Date: Tue, 25 Nov 2025 11:43:22 +0000
From: Les Boys <lesboyspp43@...look.com>
To: Ping-Ke Shih <pkshih@...ltek.com>
CC: "linux-wireless@...r.kernel.org" <linux-wireless@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [PATCH rtw-next v3] realtek/rtlwifi: remove unused two if blocks and
put unicast set inner if and else block
---
CHANGE:
1. Ensure used the origin as base
2. Format fixings
Signed-off-by: Les Boys <lesboyspp43@...look.com>
---
drivers/net/wireless/realtek/rtlwifi/pci.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers/net/wireless/realtek/rtlwifi/pci.c b/drivers/net/wireless/realtek/rtlwifi/pci.c
index d08046926..a07de6b57 100644
--- a/drivers/net/wireless/realtek/rtlwifi/pci.c
+++ b/drivers/net/wireless/realtek/rtlwifi/pci.c
@@ -752,14 +752,13 @@ static void _rtl_pci_rx_interrupt(struct ieee80211_hw *hw)
memcpy(IEEE80211_SKB_RXCB(skb), &rx_status,
sizeof(rx_status));
- if (is_broadcast_ether_addr(hdr->addr1)) {
- ;/*TODO*/
- } else if (is_multicast_ether_addr(hdr->addr1)) {
- ;/*TODO*/
- } else {
+ if (is_unicast_ether_addr(hdr->addr1)) {
unicast = true;
rtlpriv->stats.rxbytesunicast += skb->len;
+ } else {
+ unicast = false;
}
+
rtl_is_special_data(hw, skb, false, true);
if (ieee80211_is_data(fc)) {
--
2.44.0
Powered by blists - more mailing lists