diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/driver-ops.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/mac80211/driver-ops.h b/net/mac80211/driver-ops.h index 978850ee3a5f..d1139e4f88a9 100644 --- a/net/mac80211/driver-ops.h +++ b/net/mac80211/driver-ops.h | |||
@@ -269,9 +269,6 @@ static inline int drv_sta_add(struct ieee80211_local *local, | |||
269 | 269 | ||
270 | if (local->ops->sta_add) | 270 | if (local->ops->sta_add) |
271 | ret = local->ops->sta_add(&local->hw, &sdata->vif, sta); | 271 | ret = local->ops->sta_add(&local->hw, &sdata->vif, sta); |
272 | else if (local->ops->sta_notify) | ||
273 | local->ops->sta_notify(&local->hw, &sdata->vif, | ||
274 | STA_NOTIFY_ADD, sta); | ||
275 | 272 | ||
276 | trace_drv_sta_add(local, sdata, sta, ret); | 273 | trace_drv_sta_add(local, sdata, sta, ret); |
277 | 274 | ||
@@ -286,9 +283,6 @@ static inline void drv_sta_remove(struct ieee80211_local *local, | |||
286 | 283 | ||
287 | if (local->ops->sta_remove) | 284 | if (local->ops->sta_remove) |
288 | local->ops->sta_remove(&local->hw, &sdata->vif, sta); | 285 | local->ops->sta_remove(&local->hw, &sdata->vif, sta); |
289 | else if (local->ops->sta_notify) | ||
290 | local->ops->sta_notify(&local->hw, &sdata->vif, | ||
291 | STA_NOTIFY_REMOVE, sta); | ||
292 | 286 | ||
293 | trace_drv_sta_remove(local, sdata, sta); | 287 | trace_drv_sta_remove(local, sdata, sta); |
294 | } | 288 | } |