wifinina: add 'unknown failure' reason code for AP connect

This commit is contained in:
Scott Feldman
2023-05-17 10:03:03 -07:00
committed by Ron Evans
parent 255c639ad4
commit 3c4df6e811
+2
View File
@@ -263,6 +263,8 @@ func (err hwerr) Error() string {
func (w *wifinina) reason() string {
reason := w.getReasonCode()
switch reason {
case 0:
return "unknown failure"
case 201:
return "no AP found"
case 202: