Kees Cook
78ce6a9083
libertas: Convert timers to use timer_setup()
...
In preparation for unconditionally passing the struct timer_list pointer to
all timer callbacks, switch to using the new timer_setup() and from_timer()
to pass the timer pointer explicitly.
Cc: Kalle Valo <kvalo@codeaurora.org >
Cc: Arvind Yadav <arvind.yadav.cs@gmail.com >
Cc: Ingo Molnar <mingo@kernel.org >
Cc: Johannes Berg <johannes.berg@intel.com >
Cc: "David S. Miller" <davem@davemloft.net >
Cc: Andrew Zaborowski <andrew.zaborowski@intel.com >
Cc: libertas-dev@lists.infradead.org
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org >
Signed-off-by: Kalle Valo <kvalo@codeaurora.org >
2017-10-27 10:48:44 +03:00
Arvind Yadav
8a3132fa6b
libertas_tf: constify usb_device_id
...
usb_device_id are not supposed to change at runtime. All functions
working with usb_device_id provided by <linux/usb.h> work with
const usb_device_id. So mark the non-const structs as const.
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com >
Signed-off-by: Kalle Valo <kvalo@codeaurora.org >
2017-08-10 11:55:59 +03:00
Wolfram Sang
da8794ce8e
net: wireless: marvell: libertas_tf: if_usb: don't print error when allocating urb fails
...
kmalloc will print enough information in case of failure.
Signed-off-by: Wolfram Sang <wsa-dev@sang-engineering.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2016-08-13 14:53:41 -07:00
Kalle Valo
dd3f92dea8
libertas_tf: move under marvell vendor directory
...
Part of reorganising wireless drivers directory and Kconfig.
Signed-off-by: Kalle Valo <kvalo@codeaurora.org >
2015-11-18 14:28:30 +02:00