|
@@ -911,10 +911,10 @@ static int orinoco_ioctl_set_auth(struct net_device *dev,
|
|
|
*/
|
|
*/
|
|
|
if (param->value) {
|
|
if (param->value) {
|
|
|
priv->tkip_cm_active = 1;
|
|
priv->tkip_cm_active = 1;
|
|
|
- ret = hermes_enable_port(hw, 0);
|
|
|
|
|
|
|
+ ret = hermes_disable_port(hw, 0);
|
|
|
} else {
|
|
} else {
|
|
|
priv->tkip_cm_active = 0;
|
|
priv->tkip_cm_active = 0;
|
|
|
- ret = hermes_disable_port(hw, 0);
|
|
|
|
|
|
|
+ ret = hermes_enable_port(hw, 0);
|
|
|
}
|
|
}
|
|
|
break;
|
|
break;
|
|
|
|
|
|