Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22049
b: refs/heads/master
c: 7802ac5
h: refs/heads/master
i:
  22047: 53d5c54
v: v3
  • Loading branch information
David Brownell authored and Greg Kroah-Hartman committed Mar 20, 2006
1 parent e63cc17 commit a41596b
Show file tree
Hide file tree
Showing 2 changed files with 3 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: bae4bd848dc0b7e6defc7a5d62834a35d1eed06d
refs/heads/master: 7802ac5c29d135345db1b06f9167075cd9f2d675
3 changes: 2 additions & 1 deletion trunk/drivers/usb/gadget/ether.c
Original file line number Diff line number Diff line change
Expand Up @@ -1549,7 +1549,8 @@ static int eth_change_mtu (struct net_device *net, int new_mtu)
{
struct eth_dev *dev = netdev_priv(net);

// FIXME if rndis, don't change while link's live
if (dev->rndis)
return -EBUSY;

if (new_mtu <= ETH_HLEN || new_mtu > ETH_FRAME_LEN)
return -ERANGE;
Expand Down

0 comments on commit a41596b

Please sign in to comment.