Searched hist:"3 c8c577f" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_wlan_util.c | 3c8c577f Mon May 24 08:51:03 CDT 2021 Shreyansh Chouhan <chouhan.shreyansh630@gmail.com> staging: rtl8723bs: refactor to reduce indents
Reduce the number of indents in rtw_wlan_util.c file by refactoring the code.
Moved the part of code that rearranged ac paramaters in the function WMMOnAssocResp to a separate function named sort_wmm_ac_params. It takes both the array of ac params and their indexes as arguments and sorts them. Has return type void.
Moved the part of code that checked IE for realtek vendor in the function check_assoc_AP to a separate function named get_realtek_assoc_AP_vender. It takes a struct ndis_80211_var_ie * as an argument and returns u32 realtek vendor.
Signed-off-by: Shreyansh Chouhan <chouhan.shreyansh630@gmail.com> Link: https://lore.kernel.org/r/20210524135105.5550-2-chouhan.shreyansh630@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|