]> git.baikalelectronics.ru Git - kernel.git/commit
carl9170: Only specify interface combinations if more than one interface is possible
authorChristian Lamparter <chunkeey@googlemail.com>
Mon, 17 Dec 2012 13:54:19 +0000 (14:54 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Jan 2013 20:16:52 +0000 (15:16 -0500)
commitec1635bbbe753c341df64bbd2a4a11c156c54ec8
tree7b43d834db4c62aca2b3b1df220af511982b412a
parent5740bce19d46e7cb7f17dc97541b36c0388f3d85
carl9170: Only specify interface combinations if more than one interface is possible

Otherwise carl9170 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))

Note: The number of supported interfaces is set by
the carl9170 firmware. The default number of
supported interfaces for all current firmwares is 2.
Therefore this warning can only be observed with
custom firmwares.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/carl9170/fw.c