mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-22 21:34:37 +00:00
Fixed 2 warnings on Ubuntu
This commit is contained in:
parent
5660ab917e
commit
90d03c245c
@ -20,7 +20,6 @@
|
||||
#endif /* CONFIG_IOCTL_CFG80211 */
|
||||
#include <hal_data.h>
|
||||
|
||||
|
||||
struct mlme_handler mlme_sta_tbl[] = {
|
||||
{WIFI_ASSOCREQ, "OnAssocReq", &OnAssocReq},
|
||||
{WIFI_ASSOCRSP, "OnAssocRsp", &OnAssocRsp},
|
||||
@ -94,7 +93,6 @@ struct action_handler OnAction_tbl[] = {
|
||||
{RTW_WLAN_CATEGORY_P2P, "ACTION_P2P", &OnAction_p2p},
|
||||
};
|
||||
|
||||
|
||||
u8 null_addr[ETH_ALEN] = {0, 0, 0, 0, 0, 0};
|
||||
|
||||
/**************************************************
|
||||
@ -258,6 +256,7 @@ void rtw_txpwr_init_regd(struct rf_ctl_t *rfctl)
|
||||
);
|
||||
if (rfctl->regd_name)
|
||||
break;
|
||||
// Intentional fallthrough
|
||||
default:
|
||||
rfctl->regd_name = regd_str(TXPWR_LMT_WW);
|
||||
RTW_PRINT("assign %s for default case\n", regd_str(TXPWR_LMT_WW));
|
||||
|
@ -1,5 +1,5 @@
|
||||
PACKAGE_NAME="realtek-rtl88xxau"
|
||||
PACKAGE_VERSION="5.6.4.1~20190919"
|
||||
PACKAGE_VERSION="5.6.4.1~20190928"
|
||||
CLEAN="'make' clean"
|
||||
BUILT_MODULE_NAME[0]=88XXau
|
||||
PROCS_NUM=`nproc`
|
||||
|
@ -1081,6 +1081,7 @@ s32 c2h_handler(_adapter *adapter, u8 id, u8 seq, u8 plen, u8 *payload)
|
||||
#endif
|
||||
case C2H_EXTEND:
|
||||
sub_id = payload[0];
|
||||
// Intentional fallthrough
|
||||
/* no handle, goto default */
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user