]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: Replace open coded interface checking with interface combinations.
authorGertjan van Wingerde <gwingerde@gmail.com>
Sun, 23 Sep 2012 18:22:54 +0000 (20:22 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 25 Sep 2012 19:57:44 +0000 (15:57 -0400)
commitcb3527fdc2e368e4bccfea629599ee519521d88b
treea66326a7c51db3390c31a6d9b770c7860116a79d
parentf9a512b397f6ed0f7ef277f55fe56277d4136219
rt2x00: Replace open coded interface checking with interface combinations.

Mac80211 has formal infrastructure to specify which interface combinations
are supported. Make use of this facility in favor of open coding it
ourselves.
So far we only have to specify we can support multiple AP interfaces,
no other combinations are supported.

Inspired by an earlier patch from Paul Fertser.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Cc: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00.h
drivers/net/wireless/rt2x00/rt2x00dev.c
drivers/net/wireless/rt2x00/rt2x00mac.c