HomeFreeBSD

rtwn: fix connection problems with 'options RTWN_WITHOUT_UCODE'

Description

rtwn: fix connection problems with 'options RTWN_WITHOUT_UCODE'

sc_set_media_status() callback may involve some generic code in addition to
firmware-specific part (e.g., link status register setup for RTL8188E);
so, remove 'RTWN_WITHOUT_UCODE' ifdefs around it.

Tested with RTL8188CUS, RTL8188EU and RTL8821AU, STA mode.

Details

Provenance
avosAuthored on
Parents
rS319087: rtwn_usb: fix build with 'options RTWN_WITHOUT_UCODE'
Branches
Unknown
Tags
Unknown