Michael Wu wrote:
On Thursday 07 June 2007 19:56, Larry Finger wrote:
When I leave this part out, the rate _NEVER_ gets set, no matter what you
say. My experiments say that it is needed.
That's because force_unicast_rateidx and max_ratectrl_rateidx is being set in
the wrong struct ieee80211_if_ap. (how did I miss that..) sdata->u.ap is only
valid when sdata->type == IEEE80211_IF_TYPE_AP, yet it's being accessed
without any mode checks. sdata->bss should be used instead.
Does sdata->bss need to be checked to verify that it is not NULL?
Larry
-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html