wl12xx: add channel field to wlvif
authorEliad Peller <eliad@wizery.com>
Mon, 10 Oct 2011 08:13:10 +0000 (10:13 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 11 Oct 2011 12:12:13 +0000 (15:12 +0300)
commit61f845f4f441a90e5328a78c6c4e0646d99fc2f0
tree0f7c492d19b196be357d6df2cd44cb93e4afa5b6
parent1b92f15ee0e0f06222d4fd36dc36960d217243b3
wl12xx: add channel field to wlvif

add channel into the per-interface data.

mac80211 configures some values (e.g. band, channel)
globally, while we configure them per-interface.

In order to make it easier to keep track of the
configured value for each value while keeping sync
with mac80211, save these values both globally
and per-vif.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/cmd.c
drivers/net/wireless/wl12xx/main.c
drivers/net/wireless/wl12xx/wl12xx.h