Skip to content

Commit 28580eb

Browse files
committed
Fixes to allow various options to compile
1 parent 8b53828 commit 28580eb

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

hal/rtl8814a/usb/rtl8814au_xmit.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ s32 rtl8814au_xmit_buf_handler(PADAPTER padapter)
374374
, ("%s: bDriverStopped(%s) bSurpriseRemoved(%s)!\n"
375375
, __func__
376376
, rtw_is_drv_stopped(padapter)?"True":"False"
377-
, rtw_is_surprise_removed(padapter)?"True":"False");
377+
, rtw_is_surprise_removed(padapter)?"True":"False"));
378378
return _FAIL;
379379
}
380380

os_dep/linux/os_intfs.c

+1
Original file line numberDiff line numberDiff line change
@@ -2635,6 +2635,7 @@ static int netdev_vir_if_close(struct net_device *pnetdev)
26352635
#endif
26362636

26372637
#ifdef CONFIG_IOCTL_CFG80211
2638+
struct wireless_dev *wdev = padapter->rtw_wdev;
26382639
wdev->iftype = NL80211_IFTYPE_MONITOR;
26392640
wdev->current_bss = NULL;
26402641
rtw_scan_abort(padapter);

os_dep/linux/usb_ops_linux.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ int _usbctrl_vendorreq_async_write(struct usb_device *udev, u8 request,
223223
reqtype = REALTEK_USB_VENQT_WRITE;
224224
}
225225

226-
buf = (struct rtl819x_async_write_data *)rtw_zmalloc(sizeof(*buf));
226+
buf = (struct rtw_async_write_data *)rtw_zmalloc(sizeof(*buf));
227227
if (!buf) {
228228
rc = -ENOMEM;
229229
goto exit;

0 commit comments

Comments
 (0)