aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2009-05-04 12:10:28 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-05-04 16:22:16 -0400
commit6909268dc93ae4b0b8e1ebb4b2fa70b1a47dd347 (patch)
treed4410166db411f73939560f9cd9e1b7bdeae09c1 /drivers/net
parent8e532175277d9a5eae49768ed086555081f741a7 (diff)
mac80211: pid, fix memory corruption
pid doesn't count with some band having more bitrates than the one associated the first time. Fix that by counting the maximal available bitrate count and allocate big enough space. Secondly, fix touching uninitialized memory which causes panics. Index sucked from this random memory points to the hell. The fix is to sort the rates on each band change. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions