diff options
Diffstat (limited to 'drivers/net/wireless/orinoco/main.c')
-rw-r--r-- | drivers/net/wireless/orinoco/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/orinoco/main.c b/drivers/net/wireless/orinoco/main.c index e8e2d0f4763d..f800ef4e6554 100644 --- a/drivers/net/wireless/orinoco/main.c +++ b/drivers/net/wireless/orinoco/main.c | |||
@@ -1813,6 +1813,12 @@ static int __orinoco_commit(struct orinoco_private *priv) | |||
1813 | struct net_device *dev = priv->ndev; | 1813 | struct net_device *dev = priv->ndev; |
1814 | int err = 0; | 1814 | int err = 0; |
1815 | 1815 | ||
1816 | /* If we've called commit, we are reconfiguring or bringing the | ||
1817 | * interface up. Maintaining countermeasures across this would | ||
1818 | * be confusing, so note that we've disabled them. The port will | ||
1819 | * be enabled later in orinoco_commit or __orinoco_up. */ | ||
1820 | priv->tkip_cm_active = 0; | ||
1821 | |||
1816 | err = orinoco_hw_program_rids(priv); | 1822 | err = orinoco_hw_program_rids(priv); |
1817 | 1823 | ||
1818 | /* FIXME: what about netif_tx_lock */ | 1824 | /* FIXME: what about netif_tx_lock */ |