]> git.baikalelectronics.ru Git - kernel.git/commit
brcm80211: make mgmt_tx in brcmfmac accept a NULL channel
authorAntonio Quartulli <antonio@open-mesh.com>
Tue, 11 Jun 2013 12:20:01 +0000 (14:20 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Jun 2013 13:01:35 +0000 (15:01 +0200)
commit7ccb24deb6a81215334248bceddf9bb0f96f5ddf
tree0192c43d9b8e56c471d54498f20beeae966b3810
parent33aa284c2e0b071749650087e3fc62a43af45610
brcm80211: make mgmt_tx in brcmfmac 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: brcm80211-dev-list@broadcom.com
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c