From: Antonio Quartulli Date: Tue, 11 Jun 2013 12:20:00 +0000 (+0200) Subject: mac80211: make mgmt_tx accept a NULL channel X-Git-Tag: v3.11-rc1~64^2~166^2^2~45^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7aeb6fb1a3d6b09623b169518314bc7869fffec;p=pandora-kernel.git mac80211: 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. Fail if offchan is required. Signed-off-by: Antonio Quartulli [fix RCU locking] Signed-off-by: Johannes Berg --- Reading git-diff-tree failed