Skip to content

Commit

Permalink
Fixes to allow various options to compile
Browse files Browse the repository at this point in the history
  • Loading branch information
peteallenm committed Mar 16, 2024
1 parent 8b53828 commit 28580eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hal/rtl8814a/usb/rtl8814au_xmit.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ s32 rtl8814au_xmit_buf_handler(PADAPTER padapter)
, ("%s: bDriverStopped(%s) bSurpriseRemoved(%s)!\n"
, __func__
, rtw_is_drv_stopped(padapter)?"True":"False"
, rtw_is_surprise_removed(padapter)?"True":"False");
, rtw_is_surprise_removed(padapter)?"True":"False"));
return _FAIL;
}

Expand Down
1 change: 1 addition & 0 deletions os_dep/linux/os_intfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2635,6 +2635,7 @@ static int netdev_vir_if_close(struct net_device *pnetdev)
#endif

#ifdef CONFIG_IOCTL_CFG80211
struct wireless_dev *wdev = padapter->rtw_wdev;
wdev->iftype = NL80211_IFTYPE_MONITOR;
wdev->current_bss = NULL;
rtw_scan_abort(padapter);
Expand Down
2 changes: 1 addition & 1 deletion os_dep/linux/usb_ops_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ int _usbctrl_vendorreq_async_write(struct usb_device *udev, u8 request,
reqtype = REALTEK_USB_VENQT_WRITE;
}

buf = (struct rtl819x_async_write_data *)rtw_zmalloc(sizeof(*buf));
buf = (struct rtw_async_write_data *)rtw_zmalloc(sizeof(*buf));
if (!buf) {
rc = -ENOMEM;
goto exit;
Expand Down

0 comments on commit 28580eb

Please sign in to comment.