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

Johannes Berg johannes at sipsolutions.net
Tue Dec 17 03:08:50 EST 2013


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




More information about the b43-dev mailing list