From: Michael Straube <straube.linux@gmail.com>
To: gregkh@linuxfoundation.org
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
Michael Straube <straube.linux@gmail.com>
Subject: [PATCH 5/6] staging: rtl8188eu: use is_multicast_ether_addr
Date: Thu, 2 Aug 2018 19:18:22 +0200 [thread overview]
Message-ID: <20180802171823.1571-5-straube.linux@gmail.com> (raw)
In-Reply-To: <20180802171823.1571-1-straube.linux@gmail.com>
Use is_multicast_ether_addr instead of custom IS_MCAST in
core/rtw_sta_mgt.c.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
---
drivers/staging/rtl8188eu/core/rtw_sta_mgt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c b/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c
index 53e518148ae5..34c3e2af63c1 100644
--- a/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c
+++ b/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c
@@ -414,7 +414,7 @@ struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr)
if (!hwaddr)
return NULL;
- if (IS_MCAST(hwaddr))
+ if (is_multicast_ether_addr(hwaddr))
addr = bc_addr;
else
addr = hwaddr;
--
2.18.0
next prev parent reply other threads:[~2018-08-02 17:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-02 17:18 [PATCH 1/6] staging: rtl8188eu: use is_multicast_ether_addr Michael Straube
2018-08-02 17:18 ` [PATCH 2/6] " Michael Straube
2018-08-05 14:16 ` Greg KH
2018-08-02 17:18 ` [PATCH 3/6] staging: rtl8188eu: cleanup block comment - style Michael Straube
2018-08-02 17:18 ` [PATCH 4/6] staging: rtl8188eu: remove whitespace " Michael Straube
2018-08-02 17:18 ` Michael Straube [this message]
2018-08-05 14:17 ` [PATCH 5/6] staging: rtl8188eu: use is_multicast_ether_addr Greg KH
2018-08-02 17:18 ` [PATCH 6/6] staging: rtl8188eu: remove whitespace, add missing blank line Michael Straube
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180802171823.1571-5-straube.linux@gmail.com \
--to=straube.linux@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.