From: Gabor Juhos Date: Tue, 4 Jun 2013 11:40:40 +0000 (+0200) Subject: rt2x00: rt2x00dev: use rt2x00dev->bcn->limit X-Git-Tag: v3.11-rc1~64^2~166^2^2~109 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56e8256351c358d7a2003f6fe10dcb5e2bc394f7;p=pandora-kernel.git rt2x00: rt2x00dev: use rt2x00dev->bcn->limit The beacon data queue is initialized already, so fetch the number of the queue entries from that instead of using the entry_num field of the data queue descriptor. The two values are the same, and the use of the rt2x00dev->bcn->limit value allows us to get rid of a superfluous pointer dereference. Signed-off-by: Gabor Juhos Acked-by: Stanislaw Gruszka Acked-by: Gertjan van Wingerde Signed-off-by: John W. Linville --- Reading git-diff-tree failed