esp32x/wlan: Fix error: increment of a boolean expression

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-05-05 16:45:46 +08:00 committed by Alan Carvalho de Assis
parent 346c3a1e83
commit 45fb96c508
2 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@ struct wlan_ops_s
struct wlan_priv_s
{
bool ref; /* Reference count */
int ref; /* Reference count */
bool ifup; /* true:ifup false:ifdown */

View File

@ -140,7 +140,7 @@ struct wlan_ops
struct wlan_priv_s
{
bool ref; /* Referernce count */
int ref; /* Referernce count */
bool ifup; /* true:ifup false:ifdown */