]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: use a function to replace two copies of a code fragment
authorBing Zhao <bzhao@marvell.com>
Wed, 8 Jan 2014 23:45:57 +0000 (15:45 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 9 Jan 2014 15:56:40 +0000 (10:56 -0500)
commitd95bc359034b170732fbe45b7156c4e25d6357b6
treee846714980142f5bb48e6f64b0692e3d0045266a
parentd2204f0c04ee06ad41ca15d8624bcb5e32a53b9d
mwifiex: use a function to replace two copies of a code fragment

Instead of having two copies of the code for device tree cfgdata
downloading, add a function to improve the code.

Reviewed-by: Paul Stewart <pstew@chromium.org>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c
drivers/net/wireless/mwifiex/main.h
drivers/net/wireless/mwifiex/sta_ioctl.c