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
Tony Wu 2018-04-17 16:27:35 +08:00 committed by adbridge
parent 04a2e92d54
commit e87cc1fb34
1 changed files with 11 additions and 10 deletions

View File

@ -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__);
if (!rltk_wlan_check_isup(idx))
if (!rltk_wlan_check_isup(idx)) {
return;
}
if(idx == -1){
if (idx == -1) {
DBG_ERR("skb is NULL");
return;
}