On Fri, 2008-09-12 at 13:44 -0700, Abhijeet Kolekar wrote: > 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. > /* and set some type-dependent values */ > sdata->vif.type = type; > + sdata->dev->hard_start_xmit = ieee80211_subif_start_xmit; > > /* only monitor differs */ > sdata->dev->type = ARPHRD_ETHER; I'd have prefered if you'd put it along with "only monitor mode differs" but heh :) Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> johannes
Attachment:
signature.asc
Description: This is a digitally signed message part