On 03/06/2013 16:59, Johannes Berg wrote: > On Mon, 2013-06-03 at 08:39 +0200, Antonio Quartulli wrote: >> From: Antonio Quartulli <antonio@xxxxxxxxxxxxx> >> >> Users may want to send a frame on the current channel >> without specifying it. >> >> Make mgmt_tx pass a NULL channel to mac80211 if none has >> been specified by the user. > > cfg80211 isn't just a mac80211 frontend ... ;-) > > Also, as Nicolas said, ath6kl_mgmt_tx() will crash after this patch if > it's called in AP mode w/o a channel, so you need to think about that. It will crash unconditionally. All ath6kl_mgmt_tx()'s code paths access chan->center_freq at some point. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html