aboutsummaryrefslogtreecommitdiff
path: root/firmwares/wifishield/wifiHD/src/cmd_wl.c
diff options
context:
space:
mode:
authorMimmo La Fauci <mlafauci@metodo2.it>2013-03-26 22:26:21 +0100
committerMimmo La Fauci <mlafauci@metodo2.it>2013-03-26 22:26:21 +0100
commit881e9430a17de82334b65041150a3c122d342f41 (patch)
treeced9bef5f19882b8db880a4046d521032cd6fbc5 /firmwares/wifishield/wifiHD/src/cmd_wl.c
parent6265d401817934c4b2d9ee3bf8dab44de1bb08cb (diff)
Fix print message on dhcp status
Diffstat (limited to 'firmwares/wifishield/wifiHD/src/cmd_wl.c')
-rw-r--r--firmwares/wifishield/wifiHD/src/cmd_wl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmwares/wifishield/wifiHD/src/cmd_wl.c b/firmwares/wifishield/wifiHD/src/cmd_wl.c
index 3985072..a210dec 100644
--- a/firmwares/wifishield/wifiHD/src/cmd_wl.c
+++ b/firmwares/wifishield/wifiHD/src/cmd_wl.c
@@ -466,7 +466,7 @@ cmd_status(int argc, char* argv[], void* ctx)
else
printk("ip interface is down\n");
printk("dhcp : ");
- if (ncfg->dhcp_enabled) {
+ if (ncfg->dhcp_enabled == DYNAMIC_IP_CONFIG) {
printk("enabled\n");
}
else {