diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-05 13:44:36 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 13:52:10 -0800 |
commit | da3e89082d8d3018b63589e435defd6bd9feb0f5 (patch) | |
tree | 586a3c5d89579870b3c76ef0d556e9200457fa67 /drivers/staging/otus/wrap_ev.c | |
parent | 4bd43f507c7e2f225f58235226a8381fd6bbff1a (diff) |
Staging: otus: fix netdev->priv usage
Now that netdev->priv is gone, fix things up properly in the otus driver
to use ml_priv as it should have always been doing.
Cc: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/otus/wrap_ev.c')
-rw-r--r-- | drivers/staging/otus/wrap_ev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/otus/wrap_ev.c b/drivers/staging/otus/wrap_ev.c index ba18d1e1741..966b787eef6 100644 --- a/drivers/staging/otus/wrap_ev.c +++ b/drivers/staging/otus/wrap_ev.c @@ -43,7 +43,7 @@ u16_t zfLnxAuthNotify(zdev_t* dev, u16_t* macAddr) u16_t zfLnxAsocNotify(zdev_t* dev, u16_t* macAddr, u8_t* body, u16_t bodySize, u16_t port) { //#ifdef ZM_HOSTAPD_SUPPORT - struct usbdrv_private *macp = (struct usbdrv_private *)dev->priv; + struct usbdrv_private *macp = dev->ml_priv; union iwreq_data wreq; u8_t *addr = (u8_t *) macAddr; u16_t i, j; @@ -141,7 +141,7 @@ void zfLnxConnectNotify(zdev_t* dev, u16_t status, u16_t* bssid) { union iwreq_data wreq; u8_t *addr = (u8_t *) bssid; - struct usbdrv_private *macp = dev->priv; + struct usbdrv_private *macp = dev->ml_priv; if (bssid != NULL) { |