staging: rtl8188eu:Assign RTL8188E to padapter->chip_type directly
Assign RTL8188E to padapter->chip_type directly instead of calling chip_by_usb_id() function to do same. Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c95c51170d
commit
baf3a0112c
@ -546,11 +546,8 @@ static struct adapter *rtw_usb_if1_init(struct dvobj_priv *dvobj,
|
||||
dvobj->if1 = padapter;
|
||||
|
||||
padapter->bDriverStopped = true;
|
||||
|
||||
padapter->hw_init_mutex = &usb_drv->hw_init_mutex;
|
||||
|
||||
/* step 1-1., decide the chip_type via vid/pid */
|
||||
chip_by_usb_id(padapter, pdid);
|
||||
padapter->chip_type = RTL8188E;
|
||||
|
||||
if (rtw_handle_dualmac(padapter, 1) != _SUCCESS)
|
||||
goto free_adapter;
|
||||
|
Loading…
Reference in New Issue
Block a user