int err = 0; 
int err; 
static int orinoco_ioctl_getfrag(struct net_device *dev, struct iw_param *frq){	struct orinoco_private *priv = netdev_priv(dev);	hermes_t *hw = &priv->hw;	int err = 0;	u16 val;	unsigned long flags;	if (orinoco_lock(priv, &flags) != 0)		return -EBUSY;		if (priv->has_mwo) {		err = hermes_read_wordrec(hw, USER_BAP,					  HERMES_RID_CNFMWOROBUST_AGERE,					  &val);		if (err)			val = 0;		frq->value = val ? 2347 : 0;		frq->disabled = ! val;		frq->fixed = 0;	} else {		err = hermes_read_wordrec(hw, USER_BAP, HERMES_RID_CNFFRAGMENTATIONTHRESHOLD,					  &val);		if (err)			val = 0;		frq->value = val;		frq->disabled = (val >= 2346);		frq->fixed = 1;	}	orinoco_unlock(priv, &flags);		return err;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/620554e406e3cc01434c658a1e597162d7e56fd6/orinoco.c/buggy/drivers/net/wireless/orinoco.c