mirror-linux/drivers/net/wireless/rsi
Christophe JAILLET 8de7838acf wifi: rsi: Slightly simplify rsi_set_channel()
There is no point in allocating 'skb' and then freeing it if !channel.

Make the sanity check first to slightly simplify the code.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/29bf0296bd939e3f6952272bfdcc73b22edbc374.1679328588.git.christophe.jaillet@wanadoo.fr
2023-03-31 17:45:50 +03:00
..
Kconfig
Makefile
rsi_91x_coex.c wifi: rsi: Fix memory leak in rsi_coex_attach() 2022-12-14 14:19:41 +02:00
rsi_91x_core.c wifi: rsi: Fix handling of 802.3 EAPOL frames sent via control port 2022-11-08 09:41:02 +02:00
rsi_91x_debugfs.c
rsi_91x_hal.c wifi: rsi: Avoid defines prefixed with CONFIG 2023-02-13 19:24:10 +02:00
rsi_91x_mac80211.c wifi: mac80211: add wake_tx_queue callback to drivers 2022-10-10 11:00:03 +02:00
rsi_91x_main.c
rsi_91x_mgmt.c wifi: rsi: Slightly simplify rsi_set_channel() 2023-03-31 17:45:50 +03:00
rsi_91x_ps.c
rsi_91x_sdio.c wifi: rsi: fix repeated words in comments 2022-07-18 15:11:53 +03:00
rsi_91x_sdio_ops.c
rsi_91x_usb.c
rsi_91x_usb_ops.c
rsi_boot_params.h
rsi_coex.h
rsi_common.h
rsi_debugfs.h
rsi_hal.h wifi: rsi: Avoid defines prefixed with CONFIG 2023-02-13 19:24:10 +02:00
rsi_main.h
rsi_mgmt.h
rsi_ps.h
rsi_sdio.h
rsi_usb.h