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 treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
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: make array fsm_state static const, makes object smaller 2021-08-29 11:32:01 +03:00
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 Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2022-01-17 05:49:30 +02:00
rsi_91x_mgmt.c wifi: rsi: Slightly simplify rsi_set_channel() 2023-03-31 17:45:50 +03:00
rsi_91x_ps.c rsi: remove unused including <linux/version.h> 2021-04-13 14:51:41 -07:00
rsi_91x_sdio_ops.c exit: Rename complete_and_exit to kthread_complete_and_exit 2021-12-13 12:04:45 -06:00
rsi_91x_sdio.c wifi: rsi: fix repeated words in comments 2022-07-18 15:11:53 +03:00
rsi_91x_usb_ops.c exit: Rename complete_and_exit to kthread_complete_and_exit 2021-12-13 12:04:45 -06:00
rsi_91x_usb.c rsi: Fix out-of-bounds read in rsi_read_pkt() 2021-11-29 12:43:54 +02:00
rsi_boot_params.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00
rsi_coex.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00
rsi_common.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00
rsi_debugfs.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00
rsi_hal.h wifi: rsi: Avoid defines prefixed with CONFIG 2023-02-13 19:24:10 +02:00
rsi_main.h rsi: fix rate mask set leading to P2P failure 2021-09-21 08:42:37 +03:00
rsi_mgmt.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00
rsi_ps.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00
rsi_sdio.h rsi: fix comment syntax in file headers 2021-04-18 09:27:35 +03:00
rsi_usb.h rsi: Fix out-of-bounds read in rsi_read_pkt() 2021-11-29 12:43:54 +02:00