diff --git a/wifimngr.c b/wifimngr.c index 8d01d2e1ab6387493347f0ffd7ac1b21db758fd3..2c63d1ecb44b4b2a517acdc1ec12484289768bc1 100644 --- a/wifimngr.c +++ b/wifimngr.c @@ -869,9 +869,10 @@ int wl_radio_status(struct ubus_context *ctx, struct ubus_object *obj, blobmsg_add_u32(&bb, "opclass", opclass.g_opclass); blobmsg_add_u32(&bb, "channel", channel); blobmsg_add_u32(&bb, "bandwidth", bw_int[bw]); - blobmsg_add_string(&bb, "channel_ext", radio.extch == EXTCH_NONE ? "none" : - radio.extch == EXTCH_ABOVE ? "above" : - "below"); + blobmsg_add_string(&bb, "channel_ext", + radio.extch == EXTCH_NONE ? "none" : + radio.extch == EXTCH_ABOVE ? "above" : + radio.extch == EXTCH_BELOW ? "below" : "auto"); blobmsg_add_u32(&bb, "tx_streams", radio.tx_streams); blobmsg_add_u32(&bb, "rx_streams", radio.rx_streams); blobmsg_add_u32(&bb, "noise", noise);