]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rt2x00: error in configurations with mesh support disabled
authorFelix Fietkau <nbd@openwrt.org>
Tue, 26 Feb 2013 15:09:55 +0000 (16:09 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 27 Feb 2013 19:12:52 +0000 (14:12 -0500)
commit6ef9e2f6d12ce9e2120916804d2ddd46b954a70b
treec67ad59676c72f393acc0e4a47ec01d157b698bb
parent3e7a4ff7c5b6423ddb644df9c41b8b6d2fb79d30
rt2x00: error in configurations with mesh support disabled

If CONFIG_MAC80211_MESH is not set, cfg80211 will now allow advertising
interface combinations with NL80211_IFTYPE_MESH_POINT present.
Add appropriate ifdefs to avoid running into errors.

Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@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