On Sun, 2012-10-14 at 16:48 +0200, Victor Goldenshtein wrote: > +static int ieee80211_dfs_en_tx(struct wiphy *wiphy, struct net_device *dev, > + struct ieee80211_channel *chan) > +{ > + struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); > + struct ieee80211_local *local = sdata->local; > + int ret = -ENOENT; > + > + if (!local->ops->dfs_en_tx) > + return -EOPNOTSUPP; > + > + ret = drv_dfs_en_tx(local, sdata, chan); > + return ret; What's with the "ret" variable here? johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html