On 23:25 26-Apr 2015 patrick keshishian wrote:
> On 4/26/15, Mikhail <mp39...@gmail.com> wrote:
> >
> >         urtwn_write_1(sc, R92C_USB_SPECIAL_OPTION,
> >             urtwn_read_1(sc, R92C_USB_SPECIAL_OPTION) |
> > -           R92C_USB_SPECIAL_OPTION_AGG_EN);
> > +           (sc->chip & URTWN_CHIP_88E ?
> > +               ~R92C_USB_SPECIAL_OPTION_AGG_EN :
> 
> umm... maybe 0, as it is being ORed with what read returns.
> But maybe the check should be against URTWN_CHIP_92C since
> the option is specific to it (or at least implied to be so).

It's what original driver does:

https://github.com/lwfinger/rtl8188eu/blob/master/hal/usb_halinit.c#L520

Reply via email to