mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
u80211_drv: fix group key hw encryption in rtl8188eu
This commit is contained in:
@@ -374,7 +374,9 @@ int u80211_drv_rtl8188eu_mac_configure_hardware_offloads(u80211_drv_device_handl
|
|||||||
// cipher-header key ID. the default-key bits are for legacy key selection
|
// cipher-header key ID. the default-key bits are for legacy key selection
|
||||||
// and can make encrypted data use a different CAM entry than the handshake.
|
// and can make encrypted data use a different CAM entry than the handshake.
|
||||||
uint8_t security_config = U80211_DRV_RTL8188EU_REG_SECCFG_TXENC_ENABLE |
|
uint8_t security_config = U80211_DRV_RTL8188EU_REG_SECCFG_TXENC_ENABLE |
|
||||||
U80211_DRV_RTL8188EU_REG_SECCFG_RXENC_ENABLE;
|
U80211_DRV_RTL8188EU_REG_SECCFG_RXENC_ENABLE |
|
||||||
|
U80211_DRV_RTL8188EU_REG_SECCFG_TXBCKEY_DEF |
|
||||||
|
U80211_DRV_RTL8188EU_REG_SECCFG_RXBCKEY_DEF;
|
||||||
status = u80211_drv_rtl8188eu_reg_write8(device, U80211_DRV_RTL8188EU_REG_SECCFG, security_config);
|
status = u80211_drv_rtl8188eu_reg_write8(device, U80211_DRV_RTL8188EU_REG_SECCFG, security_config);
|
||||||
if (status != U80211_DRV_STATUS_SUCCESS)
|
if (status != U80211_DRV_STATUS_SUCCESS)
|
||||||
return status;
|
return status;
|
||||||
|
|||||||
Reference in New Issue
Block a user