mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
[atheros] remove strange direct usage of dev->priv as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10875 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -826,7 +826,7 @@ static int ar2313_init(struct net_device *dev)
|
||||
static void ar2313_load_rx_ring(struct net_device *dev, int nr_bufs)
|
||||
{
|
||||
|
||||
struct ar2313_private *sp = ((struct net_device *) dev)->priv;
|
||||
struct ar2313_private *sp = netdev_priv(dev);
|
||||
short i, idx;
|
||||
|
||||
idx = sp->rx_skbprd;
|
||||
|
||||
Reference in New Issue
Block a user