Maksim Salau
2f6ae79cb0
orinoco_usb: Fix buffer on stack
...
Allocate buffer on HEAP instead of STACK for a local variable
that is to be sent using usb_control_msg().
Signed-off-by: Maksim Salau <maksim.salau@gmail.com >
Signed-off-by: Kalle Valo <kvalo@codeaurora.org >
2017-04-26 12:01:10 +03:00
Tobias Klauser
3a6282045b
orinoco: Use net_device_stats from struct net_device
...
Instead of using a private copy of struct net_device_stats in
struct orinoco_private, use stats from struct net_device. Also remove
the now unnecessary .ndo_get_stats function.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch >
Signed-off-by: Kalle Valo <kvalo@codeaurora.org >
2017-02-15 11:13:04 +02:00
Wolfram Sang
3de6e8852f
net: wireless: intersil: orinoco: orinoco_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
Florian Westphal
860e9538a9
treewide: replace dev->trans_start update with helper
...
Replace all trans_start updates with netif_trans_update helper.
change was done via spatch:
struct net_device *d;
@@
- d->trans_start = jiffies
+ netif_trans_update(d)
Compile tested only.
Cc: user-mode-linux-devel@lists.sourceforge.net
Cc: linux-xtensa@linux-xtensa.org
Cc: linux1394-devel@lists.sourceforge.net
Cc: linux-rdma@vger.kernel.org
Cc: netdev@vger.kernel.org
Cc: MPT-FusionLinux.pdl@broadcom.com
Cc: linux-scsi@vger.kernel.org
Cc: linux-can@vger.kernel.org
Cc: linux-parisc@vger.kernel.org
Cc: linux-omap@vger.kernel.org
Cc: linux-hams@vger.kernel.org
Cc: linux-usb@vger.kernel.org
Cc: linux-wireless@vger.kernel.org
Cc: linux-s390@vger.kernel.org
Cc: devel@driverdev.osuosl.org
Cc: b.a.t.m.a.n@lists.open-mesh.org
Cc: linux-bluetooth@vger.kernel.org
Signed-off-by: Florian Westphal <fw@strlen.de >
Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com >
Acked-by: Mugunthan V N <mugunthanvnm@ti.com >
Acked-by: Antonio Quartulli <a@unstable.cc >
Signed-off-by: David S. Miller <davem@davemloft.net >
2016-05-04 14:16:49 -04:00
Kalle Valo
2be45b66de
orinoco: move under intersil vendor directory
...
Part of reorganising wireless drivers directory and Kconfig.
Signed-off-by: Kalle Valo <kvalo@codeaurora.org >
2015-11-18 14:28:31 +02:00