mirror of https://github.com/ARMmbed/mbed-os.git
rtl8195am - fix lwip_intf.c warnings
Fix the following warning: [Warning] lwip_intf.c@134,5: this 'if' clause does not guard... [-Wmisleading-indentation] Signed-off-by: Tony Wu <tonywu@realtek.com>pull/6697/head
parent
04a2e92d54
commit
e87cc1fb34
|
@ -131,10 +131,11 @@ void rltk_wlan_recv(int idx, struct eth_drv_sg *sg_list, int sg_len)
|
||||||
|
|
||||||
DBG_TRACE("%s is called", __FUNCTION__);
|
DBG_TRACE("%s is called", __FUNCTION__);
|
||||||
|
|
||||||
if (!rltk_wlan_check_isup(idx))
|
if (!rltk_wlan_check_isup(idx)) {
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if(idx == -1){
|
if (idx == -1) {
|
||||||
DBG_ERR("skb is NULL");
|
DBG_ERR("skb is NULL");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue