Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122550
b: refs/heads/master
c: 5a001a0
h: refs/heads/master
v: v3
  • Loading branch information
Wang Chen authored and David S. Miller committed Dec 8, 2008
1 parent 67fa5d3 commit 3608c1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4bcd42679643dd3dfd6aaad9fcbcc74ac5c7e2e9
refs/heads/master: 5a001a070e032bea1be563b13ebf9819cd5e54d4
6 changes: 5 additions & 1 deletion trunk/drivers/staging/winbond/linux/wbusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,11 @@ WbUsb_destroy(phw_data_t pHwData)

int wb35_open(struct net_device *netdev)
{
PADAPTER Adapter = (PADAPTER)netdev->priv;
/* netdev_priv() or netdev->ml_priv should reference to the address of
* private data(PADAPTER). It depends on whether private data memory is
* allocated when alloc_netdev().
*/
PADAPTER Adapter = (PADAPTER)netdev_priv(netdev);
phw_data_t pHwData = &Adapter->sHwData;

netif_start_queue(netdev);
Expand Down

0 comments on commit 3608c1d

Please sign in to comment.