iwlagn: fix interface combinations
authorJohannes Berg <johannes.berg@intel.com>
Thu, 2 Jun 2011 17:38:43 +0000 (19:38 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 2 Jun 2011 19:50:47 +0000 (15:50 -0400)
commitf35490f909b7d535ff7f2f1a7df59be8c2824931
tree5aff080150a01c56c806a20132728ac54b685a45
parent5bc9890ff114cdd39de8561610f6af3bb4b08cfb
iwlagn: fix interface combinations

My patch to advertise interface combinations
worked by pure luck in the P2P case, but all
other cases are broken. This is due to a dumb
mistake in the code that checks what should
be advertised, fix that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c