nl80211: move set_qos_map command into split state
authorJohannes Berg <johannes.berg@intel.com>
Tue, 10 Jun 2014 12:06:25 +0000 (14:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Jul 2014 19:52:57 +0000 (12:52 -0700)
commit3f9e431955574505f0df2aa1e95686023a9d5977
tree581c9506c6e742ba11fc001431c3bfae6401bf60
parent5d608f59360e7622c2640853d8b70b77242c1a93
nl80211: move set_qos_map command into split state

commit 02df00eb0019e7d15a1fcddebe4d020226c1ccda upstream.

The non-split wiphy state shouldn't be increased in size
so move the new set_qos_map command into the split if
statement.

Fixes: fa9ffc745610 ("cfg80211: Add support for QoS mapping")
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/wireless/nl80211.c