Search Linux Wireless

Re: rtlwifi: rtl8192cu: Remove and replace routine in hw.c and mac.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I remove duplicated routines which related rtl92cu_set_hw_reg().
> 
> 1. rtl92c_set_qos() and HW_VAR_AC_PARAM routine are similar code.
> so i replace code with rtlpriv->cfg->ops->set_hw_reg().
> 
> 2. rtl92c_set_mac_addr() and 'HW_VAR_ETHER_ADDR' case at
> rtl92cu_set_hw_reg() routine are similar code.
> so i removed rtl92c_set_mac_addr() function.
> also it was not used anywhere.
> 
> 3. remove HW_VAR_ACM_CTRL routine in rtl92cu_set_hw_reg().
> if rtl_usb->acm_method is not EACMWAY2_SW, HW_VAR_ACM_CTRL is called
> from HW_VAR_AC_PARAM. but it never called. because acm_method is always
> EACMWAY2_SW. so i remove acm_method check routine
> and HW_VAR_ACM_CTRL routine.
> 
> both usb and pci interface is not used HW_VAR_ACM_CTRL.
> but i can't test pci interface module, so i didn't modify pci code.
> 
> Signed-off-by: Taehee Yoo <ap420073@xxxxxxxxx>

Thanks, applied to wireless-drivers-next.git.

Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux