Re: [RFC PATCH 1/8] mac80211: Move dynamic PS data out of common code

Johannes Berg
2013-12-17T08:08:59Z

On Mon, 2013-12-16 at 16:00 -0600, Seth Forshee wrote:

> +void ieee80211_notify_rx(struct ieee80211_rx_data *rx)
> +{
> + switch(rx->sdata->vif.type) {
> + case NL80211_IFTYPE_MONITOR:
> + ieee80211_mgd_notify_rx(rx);

This ... seems wrong.

Also, we already have ieee80211_sta_rx_notify() which you want, I think?

With this change, do you even still need local->ps_sdata?

johannes