]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: (really) fix rates setup on IBSS merge
authorBruno Randolf <br1@einfach.org>
Wed, 3 Mar 2010 09:45:42 +0000 (18:45 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 16 Mar 2010 19:05:47 +0000 (15:05 -0400)
commit54b10cf9fdd94c4bf3973c41ea6ac1f1f4aee3ac
tree6551d06c1fd0680329a395861762a2ce511fd2d8
parentac5bdff7aa09be8c7b47d3149b3c4290d2899ece
mac80211: (really) fix rates setup on IBSS merge

when an IBSS merge happened, the supported rates for the newly added station
were left empty, causing the rate control module to be initialized with only
the basic rates.

the section of the ibss code which deals with updating supported rates for
an already existing station failed to inform the rate control module about the
new rates. as both minstrel and pid don't have an update function i just use
the init function.

also remove unnecessary (unsigned long long) casts and edit debug message.

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ibss.c