mac80211 : Fix mode change hard_start_xmit function
authorAbhijeet Kolekar <abhijeet.kolekar@intel.com>
Fri, 12 Sep 2008 20:44:08 +0000 (13:44 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Sep 2008 20:48:26 +0000 (16:48 -0400)
commite16ce63c893ff7ccb314d2fbdafbbc915b64d173
tree4810884f3bab727cb52a626e158e079f01706fd4
parent538df283c185c477dbdafafa9652c33e9742de75
mac80211 : Fix mode change hard_start_xmit function

When monitor mode is changed to BSS or IBSS, data trasnfer can not happen
because proper transmit function is not assigend for BSS ,IBSS mode.
This patch fixes this problem by assigning the ieee80211_subif_start_xmit
to device's hard_start_xmit function.

Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com>
Acked-by: Zhu Yi <yi.zhu@intel.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/iface.c