Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88364
b: refs/heads/master
c: aa979a6
h: refs/heads/master
v: v3
  • Loading branch information
Herton Ronaldo Krzesinski authored and John W. Linville committed Apr 15, 2008
1 parent 84c2119 commit f7ba937
Show file tree
Hide file tree
Showing 3 changed files with 5 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: 0517deed78be9cc9ce9799bf15da58fd0d2078bb
refs/heads/master: aa979a6acbb468b0ebe8cf36dc782a5b3cc1e28d
5 changes: 1 addition & 4 deletions trunk/drivers/net/netconsole.c
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ static void write_msg(struct console *con, const char *msg, unsigned int len)

static struct console netconsole = {
.name = "netcon",
.flags = CON_ENABLED,
.flags = CON_ENABLED | CON_PRINTBUFFER,
.write = write_msg,
};

Expand All @@ -749,9 +749,6 @@ static int __init init_netconsole(void)
err = PTR_ERR(nt);
goto fail;
}
/* Dump existing printks when we register */
netconsole.flags |= CON_PRINTBUFFER;

spin_lock_irqsave(&target_list_lock, flags);
list_add(&nt->list, &target_list);
spin_unlock_irqrestore(&target_list_lock, flags);
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/net/wireless/rtl8187_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,8 @@ static int rtl8187_add_interface(struct ieee80211_hw *dev,
return -EOPNOTSUPP;
}

priv->vif = conf->vif;

rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_CONFIG);
for (i = 0; i < ETH_ALEN; i++)
rtl818x_iowrite8(priv, &priv->map->MAC[i],
Expand All @@ -523,6 +525,7 @@ static void rtl8187_remove_interface(struct ieee80211_hw *dev,
{
struct rtl8187_priv *priv = dev->priv;
priv->mode = IEEE80211_IF_TYPE_MNTR;
priv->vif = NULL;
}

static int rtl8187_config(struct ieee80211_hw *dev, struct ieee80211_conf *conf)
Expand Down

0 comments on commit f7ba937

Please sign in to comment.