]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: libertas: fix a couple of sparse warnings
authorJohannes Berg <johannes.berg@intel.com>
Sun, 4 Sep 2022 19:29:03 +0000 (21:29 +0200)
committerKalle Valo <kvalo@kernel.org>
Wed, 7 Sep 2022 08:02:58 +0000 (11:02 +0300)
commitb30c463b12410c16801914463b0c252872221326
treee780a7c59a2f966f064c7fc6c601228ad3f5a22a
parenta6affdf422162268808b0e8f703489e8e545a2fc
wifi: libertas: fix a couple of sparse warnings

 - endian swapping is required in one place, use the
   already swapped 'bsssize' local
 - lbs_disablemesh need not be exported and can be static

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220904212910.76c34b2ae7a0.Ieb97c72b6d26f9d695cc4ab10fa7af5c3509612b@changeid
drivers/net/wireless/marvell/libertas/cfg.c
drivers/net/wireless/marvell/libertas/main.c