mac80211: fix HT40 connections
authorJohannes Berg <johannes.berg@intel.com>
Fri, 11 Jan 2013 11:32:37 +0000 (12:32 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 11 Jan 2013 11:33:43 +0000 (12:33 +0100)
commit75e6934a9e996ee7cfe7a488b7f7cc2baa86717a
treed0e6d4a381b2f7a30a66eb29d7fe43190e96cb66
parent2d31986764926630a6df72123a5e217219b32594
mac80211: fix HT40 connections

My commit 4bf88530be971bf95a7830ca61b4120980bf4347
("mac80211: convert to channel definition struct")
accidentally broke HT40 connections due to swapped
channel flag checks -- fix that.

Reported-by: Sujith Manoharan <sujith@msujith.org>
Tested-by: Sujith Manoharan <sujith@msujith.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c