Search Linux Wireless

Re: [PATCH V2] mac80211: Implementation of SIOCSIWRATE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux