mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-10 00:04:17 +00:00
remove enum WIFI_FRAME_SUBTYPE
The values defined in enum WIFI_FRAME_SUBTYPE are the same the #define IEEE80211_STYPE_xxx from <linux/ieee80211.h>. Port 33ed2b7079f6c38abce6abbaf1e6be4edad919d8
This commit is contained in:
@@ -245,7 +245,7 @@ static int rtw_mesh_path_sel_frame_tx(enum rtw_mpath_frame_type mpath_action, u8
|
||||
|
||||
SetSeqNum(pwlanhdr, pmlmeext->mgnt_seq);
|
||||
pmlmeext->mgnt_seq++;
|
||||
set_frame_sub_type(pos, WIFI_ACTION);
|
||||
set_frame_sub_type(pos, IEEE80211_STYPE_ACTION);
|
||||
|
||||
pos += sizeof(struct rtw_ieee80211_hdr_3addr);
|
||||
pattrib->pktlen = sizeof(struct rtw_ieee80211_hdr_3addr);
|
||||
@@ -358,7 +358,7 @@ int rtw_mesh_path_error_tx(_adapter *adapter,
|
||||
|
||||
SetSeqNum(pwlanhdr, pmlmeext->mgnt_seq);
|
||||
pmlmeext->mgnt_seq++;
|
||||
set_frame_sub_type(pos, WIFI_ACTION);
|
||||
set_frame_sub_type(pos, IEEE80211_STYPE_ACTION);
|
||||
|
||||
pos += sizeof(struct rtw_ieee80211_hdr_3addr);
|
||||
pattrib->pktlen = sizeof(struct rtw_ieee80211_hdr_3addr);
|
||||
|
||||
Reference in New Issue
Block a user