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. -Michael Wu
Attachment:
pgp1T8ZqV8Vbi.pgp
Description: PGP signature