Skip to content

Commit 8755f2b

Browse files
krish2718rlubos
authored andcommitted
net: lib: wifi_prov_core: Fix request decode failure
Android proto has an extra field for "anyChannel" but device doesn't, not sure how this happended, but when we added Enterprise support the anyChannel enum was used causing decode failures. Fix this by adding the field, though it's unused in device for now. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent bd004cc commit 8755f2b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

subsys/net/lib/wifi_prov_core/proto/request.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ message WifiConfig {
2626
optional WifiInfo wifi = 1;
2727
optional bytes passphrase = 2;
2828
optional bool volatileMemory = 3;
29-
optional EnterpriseCertConfig certs = 4;
29+
optional bool anyChannel = 4; // Added for Android app compatibility (unused)
30+
optional EnterpriseCertConfig certs = 5;
3031
}
3132

3233
message Request {

0 commit comments

Comments
 (0)