diff options
author | JaeMan Park <jaeman@google.com> | 2023-04-07 04:25:02 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-04-07 04:25:02 +0000 |
commit | 938c7a66884155a90973b9923cab4172a3e15256 (patch) | |
tree | 957e71420496d0dfc043fd0848b49365808dda67 | |
parent | 6eaca83f46d9b3cb4b721cf09ad43ad4031d82bf (diff) | |
parent | 4f7f741f7b66fae44052a3ddc80fe9036667333a (diff) | |
download | wmediumd-938c7a66884155a90973b9923cab4172a3e15256.tar.gz |
Send multicast frames only to the stations have client attached am: bc6f9b4a5d am: 27ebd004e6 am: 4f7f741f7b
Original change: https://android-review.googlesource.com/c/platform/external/wmediumd/+/2524495
Change-Id: I5f83075e3cb71524686b56906e78fdcb2ada1b45
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | wmediumd/wmediumd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wmediumd/wmediumd.c b/wmediumd/wmediumd.c index ac2723a..2b1e9a4 100644 --- a/wmediumd/wmediumd.c +++ b/wmediumd/wmediumd.c @@ -834,7 +834,7 @@ static void wmediumd_deliver_frame(struct usfstl_job *job) if (memcmp(src, station->addr, ETH_ALEN) == 0) continue; - if (is_multicast_ether_addr(dest)) { + if (is_multicast_ether_addr(dest) && station->client != NULL) { int snr, rate_idx, signal; double error_prob; |