]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Do not add NL80211_ATTR_SMPS_MODE attribute if HT is disabled
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 18 Mar 2016 14:16:40 +0000 (16:16 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 18 Mar 2016 14:16:40 +0000 (16:16 +0200)
commitee298f1b1f7efd7eb5fd510f36b25ff88208017c
tree9aa8d375275778e96d6c9e6712e0164221a1099b
parent4ca16b5fd71833d7d200167ba10b471cab7d049f
nl80211: Do not add NL80211_ATTR_SMPS_MODE attribute if HT is disabled

SMPS mode is applicable only for HT and including an attribute to
configure it when HT is disabled could result in the AP start operation
failing. Fix this by adding the attribute only in cases where HT is
enabled.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/drivers/driver_nl80211.c