]> err.no Git - linux-2.6/commit
[PATCH] mac80211: clarify some mac80211 things
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 10 Jul 2007 17:32:10 +0000 (19:32 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 12 Jul 2007 20:07:26 +0000 (16:07 -0400)
commit4480f15ca62a595248d6d8e2b3e75052113cde59
treefec2e3536bbe508a6a5de4a1e14d0c0ac904836f
parent5558235c6bade6662e6f257a35f2dfdc8a742147
[PATCH] mac80211: clarify some mac80211 things

The semantics of not having an add_interface callback are not well
defined, this callback is required because otherwise you cannot obtain
the requested MAC address of the device. Change the documentation to
reflect this, add a note about having no MAC address at all, add a
warning that mac_addr in struct ieee80211_if_init_conf can be NULL and
finally verify that a few callbacks are assigned by way of BUG_ON()

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Jiri Benc <jbenc@suse.cz>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/ieee80211.c