summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorShreyansh Chouhan <chouhan.shreyansh630@gmail.com>2021-05-24 19:21:03 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-25 18:25:21 +0200
commit3c8c577fd2fcf3587f16a2a9e8174c9f849cb7a6 (patch)
treeab7650ff701e873cdc6f28c6fc20f8064269183f /scripts/gdb/linux/modules.py
parentf57e6d91a8735c321ecace865d4619602bf532c8 (diff)
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>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions