]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mac80211: Initialize vif pointer
authorIvo van Doorn <ivdoorn@gmail.com>
Sun, 13 Jan 2008 13:16:47 +0000 (14:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:10:08 +0000 (15:10 -0800)
commit0f7054e32fab251af5cab116da0ef6624a1a0c8b
tree50b865b7d893b0ddda4f7cc01f87964142b1e934
parent61d30020dc2c49d36d95f3efb8b5ed727e459087
mac80211: Initialize vif pointer

Before calling update_beacon() mac80211 must
initialize the control.vif pointer so it can
be used by the driver to determine which
interface is trying to send the beacon.

v2: ieee80211_beacon_get() should also initialize the
vif pointer since it can be called by mac80211 internally
before calling config_interface().

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_sta.c
net/mac80211/tx.c