commit | f7aeb6fb1a3d6b09623b169518314bc7869fffec | [log] [tgz] |
---|---|---|
author | Antonio Quartulli <antonio@open-mesh.com> | Tue Jun 11 14:20:00 2013 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Tue Jun 11 15:01:24 2013 +0200 |
tree | 279ba9442b1f9538ac89d5af4fd742caccaeaf36 | |
parent | 3d124ea27ae2fc895f81725f0b4c7f3d9c733df4 [diff] |
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 <antonio@open-mesh.com> [fix RCU locking] Signed-off-by: Johannes Berg <johannes.berg@intel.com>