diff --git a/hal/rtl8188e_cmd.c b/hal/rtl8188e_cmd.c index 7054aac..e8d9a9f 100644 --- a/hal/rtl8188e_cmd.c +++ b/hal/rtl8188e_cmd.c @@ -29,8 +29,6 @@ #include -#define CONFIG_H2C_EF - #define RTL88E_MAX_H2C_BOX_NUMS 4 #define RTL88E_MAX_CMD_LEN 7 #define RTL88E_MESSAGE_BOX_SIZE 4 @@ -121,31 +119,20 @@ _func_enter_; /* Write Ext command */ msgbox_ex_addr = REG_HMEBOX_EXT_0 + (h2c_box_num *RTL88E_EX_MESSAGE_BOX_SIZE); - #ifdef CONFIG_H2C_EF for (cmd_idx=0;cmd_idxLastHMEBoxNum = (h2c_box_num+1) % RTL88E_MAX_H2C_BOX_NUMS; - }while ((!bcmd_down) && (retry_cnts--)); + } while ((!bcmd_down) && (retry_cnts--)); ret = _SUCCESS;