|
@@ -269,9 +269,6 @@ static inline int drv_sta_add(struct ieee80211_local *local,
|
|
|
|
|
|
if (local->ops->sta_add)
|
|
if (local->ops->sta_add)
|
|
ret = local->ops->sta_add(&local->hw, &sdata->vif, sta);
|
|
ret = local->ops->sta_add(&local->hw, &sdata->vif, sta);
|
|
- else if (local->ops->sta_notify)
|
|
|
|
- local->ops->sta_notify(&local->hw, &sdata->vif,
|
|
|
|
- STA_NOTIFY_ADD, sta);
|
|
|
|
|
|
|
|
trace_drv_sta_add(local, sdata, sta, ret);
|
|
trace_drv_sta_add(local, sdata, sta, ret);
|
|
|
|
|
|
@@ -286,9 +283,6 @@ static inline void drv_sta_remove(struct ieee80211_local *local,
|
|
|
|
|
|
if (local->ops->sta_remove)
|
|
if (local->ops->sta_remove)
|
|
local->ops->sta_remove(&local->hw, &sdata->vif, sta);
|
|
local->ops->sta_remove(&local->hw, &sdata->vif, sta);
|
|
- else if (local->ops->sta_notify)
|
|
|
|
- local->ops->sta_notify(&local->hw, &sdata->vif,
|
|
|
|
- STA_NOTIFY_REMOVE, sta);
|
|
|
|
|
|
|
|
trace_drv_sta_remove(local, sdata, sta);
|
|
trace_drv_sta_remove(local, sdata, sta);
|
|
}
|
|
}
|