nl80211: allow sending CMD_FRAME without specifying any frequency
authorAntonio Quartulli <antonio@open-mesh.com>
Tue, 11 Jun 2013 12:20:03 +0000 (14:20 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Jun 2013 13:01:36 +0000 (15:01 +0200)
commitea141b75ae29636b5c9e9d2e2e77b3dd1ab4c934
treea3cb688eece88443a72f5716f0375fb4eb603666
parentbfd634d01e02071404e3e36e3946728009ed023f
nl80211: allow sending CMD_FRAME without specifying any frequency

Users may want to send a frame on the current channel
without specifying it.

This is particularly useful for the correct implementation
of the IBSS/RSN support in wpa_supplicant which requires to
receive and send AUTH frames.

Make mgmt_tx pass a NULL channel to the driver if none has
been specified by the user.

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c