mt7603: fix return code of mt7603_sta_add

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2016-02-06 18:30:34 +01:00
parent c61405c98e
commit 61bd155a4f
+2 -1
View File
@@ -199,7 +199,8 @@ mt7603_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
{
struct mt7603_dev *dev = hw->priv;
struct mt7603_sta *msta = (struct mt7603_sta *) sta->drv_priv;
int i, ret, idx;
int i, idx;
int ret = 0;
mutex_lock(&dev->mutex);