mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-22 21:34:37 +00:00
fix cfi trip from rtw_xmit_entry
This commit is contained in:
parent
92c313c3b1
commit
e1e4ebd3ef
@ -444,7 +444,7 @@ int rtw_mlcst2unicst(_adapter *padapter, struct sk_buff *skb)
|
|||||||
#endif /* CONFIG_TX_MCAST2UNI */
|
#endif /* CONFIG_TX_MCAST2UNI */
|
||||||
|
|
||||||
|
|
||||||
int _rtw_xmit_entry(_pkt *pkt, _nic_hdl pnetdev)
|
netdev_tx_t _rtw_xmit_entry(struct sk_buff *pkt, struct net_device *pnetdev)
|
||||||
{
|
{
|
||||||
_adapter *padapter = (_adapter *)rtw_netdev_priv(pnetdev);
|
_adapter *padapter = (_adapter *)rtw_netdev_priv(pnetdev);
|
||||||
struct xmit_priv *pxmitpriv = &padapter->xmitpriv;
|
struct xmit_priv *pxmitpriv = &padapter->xmitpriv;
|
||||||
@ -544,11 +544,11 @@ exit:
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int rtw_xmit_entry(_pkt *pkt, _nic_hdl pnetdev)
|
netdev_tx_t rtw_xmit_entry(struct sk_buff *pkt, struct net_device *pnetdev)
|
||||||
{
|
{
|
||||||
_adapter *padapter = (_adapter *)rtw_netdev_priv(pnetdev);
|
_adapter *padapter = (_adapter *)rtw_netdev_priv(pnetdev);
|
||||||
struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
|
struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
|
||||||
int ret = 0;
|
netdev_tx_t ret = NETDEV_TX_OK;
|
||||||
|
|
||||||
if (pkt) {
|
if (pkt) {
|
||||||
if (check_fwstate(pmlmepriv, WIFI_MONITOR_STATE) == _TRUE) {
|
if (check_fwstate(pmlmepriv, WIFI_MONITOR_STATE) == _TRUE) {
|
||||||
|
Loading…
Reference in New Issue
Block a user