mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 14:33:05 +00:00
rtl8188eu: Fix build when CONFIG_P2P is not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
993b4435cb
commit
90df80d763
4 changed files with 7 additions and 9 deletions
|
@ -1043,8 +1043,9 @@ static struct adapter *rtw_usb_if1_init(struct dvobj_priv *dvobj,
|
|||
|
||||
/* set mac addr */
|
||||
rtw_macaddr_cfg(padapter->eeprompriv.mac_addr);
|
||||
#ifdef CONFIG_P2P
|
||||
rtw_init_wifidirect_addrs(padapter, padapter->eeprompriv.mac_addr, padapter->eeprompriv.mac_addr);
|
||||
|
||||
#endif
|
||||
DBG_871X("bDriverStopped:%d, bSurpriseRemoved:%d, bup:%d, hw_init_completed:%d\n"
|
||||
, padapter->bDriverStopped
|
||||
, padapter->bSurpriseRemoved
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue