nl80211: Indicate driver-based offchannel TX on mgmt_tx_cancel_wait
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 8 Aug 2011 09:10:30 +0000 (12:10 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 10 Aug 2011 18:07:42 +0000 (14:07 -0400)
commitd2da587839b29ccc5b920fffdb848d7bdb36f11f
treeeb1038f35a244ba4250dc0faf356f3c883b7a86d
parent281ed297ffb6741550e33b99b24ac3f5c16e3458
nl80211: Indicate driver-based offchannel TX on mgmt_tx_cancel_wait

Drivers that support frame transmission with mgmt_tx() may not support
driver-based offchannel TX. Use mgmt_tx_cancel_wait instead of mgmt_tx
when figuring out whether to indicate support for this with
NL80211_ATTR_OFFCHANNEL_TX_OK.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c