mirror of
https://github.com/pvvx/RTL00_WEB.git
synced 2026-07-12 13:55:39 +00:00
update -Wall
This commit is contained in:
parent
af72faa906
commit
c98cbe6e00
86 changed files with 523 additions and 352 deletions
|
|
@ -143,8 +143,8 @@ void list_add(struct list_head *new, struct list_head *head);
|
|||
void list_add_tail(struct list_head *new, struct list_head *head);
|
||||
#endif
|
||||
|
||||
extern void save_and_cli(void);
|
||||
extern void restore_flags(void);
|
||||
//extern void save_and_cli(void);
|
||||
//extern void restore_flags(void);
|
||||
//----- ------------------------------------------------------------------
|
||||
// SKB Operation
|
||||
//----- ------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ 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) == 0)
|
||||
return;
|
||||
|
||||
if(idx == -1){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue