From: Helmut Schaa Date: Mon, 3 Dec 2012 21:35:39 +0000 (+0100) Subject: rt2x00: Only specify interface combinations if more then one interface is possible X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~56^2^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5685ba675449b072feab6a5391a9ef9f604bc94;p=pandora-kernel.git rt2x00: Only specify interface combinations if more then one interface is possible Otherwise rt2500* triggers a warning in cfg80211, from net/wireless/core.c: /* Combinations with just one interface aren't real */ if (WARN_ON(c->max_interfaces < 2)) This was introduced in commit 55d2e9da744ba11eae900b4bfc2da72eace3c1e1: rt2x00: Replace open coded interface checking with interface combinations. Reported-by: Stefan Lippers-Hollmann Tested-by: Stefan Lippers-Hollmann Signed-off-by: Helmut Schaa Cc: stable@vger.kernel.org [3.7+] Acked-by: Gertjan van Wingerde Acked-by: Stanislaw Gruszka Signed-off-by: John W. Linville --- Reading git-diff-tree failed