ath6kl: make mgmt_tx accept a NULL channel
authorAntonio Quartulli <antonio@open-mesh.com>
Tue, 11 Jun 2013 12:20:02 +0000 (14:20 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Jun 2013 13:01:36 +0000 (15:01 +0200)
commitbfd634d01e02071404e3e36e3946728009ed023f
tree21bd82342e3b53a604dc9746d149795949566e13
parentc2ff8cad64233b539c71a27e2a6e324001143ef0
ath6kl: make mgmt_tx accept a NULL channel

cfg80211 passes a NULL channel to mgmt_tx if the frame has
to be sent on the one currently in use by the device.
Make the implementation of mgmt_tx correctly handle this
case

Cc: Nicolas Cavallari <Nicolas.Cavallari@lri.fr>
Acked-by: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c