OSDN Git Service

rt2x00: rt2x00dev: defer operational mode detection
authorGabor Juhos <juhosg@openwrt.org>
Wed, 1 May 2013 15:17:34 +0000 (17:17 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 May 2013 19:05:31 +0000 (15:05 -0400)
commite9e433032c83b28b3c41470bf91ecf597a78a3fc
tree0320c2f959c8c94277c44561517792fea4138056
parent0879f8750826f53a9fa1a40695bda01830c9a856
rt2x00: rt2x00dev: defer operational mode detection

Only do it after the queues are allocated. This
will allow to use the 'rt2x00dev->bcn->limit'
instead of 'rt2x00dev->ops->bcn->entry_num'.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00dev.c