AI 146166: am: CL 145920 Don't filter out IPv6 multicast packets.
Original author: lorenzo Automated import of CL 146166
This commit is contained in:
committed by
The Android Open Source Project
parent
17c3bfc8c9
commit
d86e6ddfc1
@@ -291,6 +291,7 @@ static jboolean android_net_wifi_startPacketFiltering(JNIEnv* env, jobject clazz
|
||||
{
|
||||
return doBooleanCommand("DRIVER RXFILTER-ADD 0", "OK")
|
||||
&& doBooleanCommand("DRIVER RXFILTER-ADD 1", "OK")
|
||||
&& doBooleanCommand("DRIVER RXFILTER-ADD 3", "OK")
|
||||
&& doBooleanCommand("DRIVER RXFILTER-START", "OK");
|
||||
}
|
||||
|
||||
@@ -298,6 +299,7 @@ static jboolean android_net_wifi_stopPacketFiltering(JNIEnv* env, jobject clazz)
|
||||
{
|
||||
jboolean result = doBooleanCommand("DRIVER RXFILTER-STOP", "OK");
|
||||
if (result) {
|
||||
(void)doBooleanCommand("DRIVER RXFILTER-REMOVE 3", "OK");
|
||||
(void)doBooleanCommand("DRIVER RXFILTER-REMOVE 1", "OK");
|
||||
(void)doBooleanCommand("DRIVER RXFILTER-REMOVE 0", "OK");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user