]> 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)
commit6c24c7979e75deb1ec2065b42c5fe729ded667cd
treea66326a7c51db3390c31a6d9b770c7860116a79d
parentdbd4de0aaf8253285107c2fc941a08eb8d3e3401
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