On Mon, 2009-12-21 at 14:36 +0200, Kalle Valo wrote: > + cmd = kzalloc(sizeof(*cmd), GFP_KERNEL); > + if (!cmd) > + return -ENOMEM; > + > + /* copy the buffer to make it work with dma */ > + memcpy(cmd, buf, buf_len); kmemdup() (more than once in the patch) > +#ifndef __WL1271_TESTMODE_H__ > +#define __WL1271_TESTMODE_H__ > + > +#include <net/mac80211.h> > + > +int wl1271_tm_cmd(struct ieee80211_hw *hw, void *data, int len); > + > +#endif /* __WL1271_TESTMODE_H__ */ probably wouldn't bother with a file for one line ;) johannes
Attachment:
signature.asc
Description: This is a digitally signed message part