Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150443
b: refs/heads/master
c: 59620e9
h: refs/heads/master
i:
  150441: d9e0686
  150439: 38628cd
v: v3
  • Loading branch information
Jussi Kivilinna authored and John W. Linville committed May 22, 2009
1 parent 69f0ba0 commit a7aa6ae
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 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: 62161aefa403a3f8d603b061f5688cf00928a2cc
refs/heads/master: 59620e9fd631703ecdc7a6d304231b45560b8d26
18 changes: 14 additions & 4 deletions trunk/drivers/net/wireless/rndis_wlan.c
Original file line number Diff line number Diff line change
Expand Up @@ -2275,7 +2275,17 @@ static void rndis_update_wireless_stats(struct work_struct *work)
}


static int bcm4320_early_init(struct usbnet *usbdev)
static int bcm4320a_early_init(struct usbnet *usbdev)
{
/* bcm4320a doesn't handle configuration parameters well. Try
* set any and you get partially zeroed mac and broken device.
*/

return 0;
}


static int bcm4320b_early_init(struct usbnet *usbdev)
{
struct rndis_wext_private *priv = get_rndis_wext_priv(usbdev);
char buf[8];
Expand Down Expand Up @@ -2515,7 +2525,7 @@ static const struct driver_info bcm4320b_info = {
.rx_fixup = rndis_rx_fixup,
.tx_fixup = rndis_tx_fixup,
.reset = rndis_wext_reset,
.early_init = bcm4320_early_init,
.early_init = bcm4320b_early_init,
.link_change = rndis_wext_link_change,
};

Expand All @@ -2528,7 +2538,7 @@ static const struct driver_info bcm4320a_info = {
.rx_fixup = rndis_rx_fixup,
.tx_fixup = rndis_tx_fixup,
.reset = rndis_wext_reset,
.early_init = bcm4320_early_init,
.early_init = bcm4320a_early_init,
.link_change = rndis_wext_link_change,
};

Expand All @@ -2541,7 +2551,7 @@ static const struct driver_info rndis_wext_info = {
.rx_fixup = rndis_rx_fixup,
.tx_fixup = rndis_tx_fixup,
.reset = rndis_wext_reset,
.early_init = bcm4320_early_init,
.early_init = bcm4320a_early_init,
.link_change = rndis_wext_link_change,
};

Expand Down

0 comments on commit a7aa6ae

Please sign in to comment.