[patch] vif_conf.patch failed to patch git wireless-testing (07-01-2009)

Pavel Roskin proski
Thu Jan 8 08:53:56 PST 2009

On Thu, 2009-01-08 at 07:32 -0800, Ahmad Ali Tabassam wrote:
> Thanks Jouni,
> But he patch needed wpa_supplicant with the nl80211.h (send in your
> mail, plz see below) in
> order to get the needed nl80211 command for enabling userspace MLME.
> It can't be applied successfully wpa_supplicant 0.6.7 the error is
> given below
> root at AP2:/usr/src/wpa_supplicant-0.6.7# patch -p1 --dry-run
> < /usr/src/wpa.patch
> patching file src/common/nl80211_copy.h
> Hunk #2 FAILED at 181.
> patch: **** malformed patch at line 29: /**
> what is going wrong  ?

I think the space on that line wasn't preserved when you saved the
patch.  See what is on the line 29 in the patch file you are using.

You can try using "-l" option to make the patch command ignore
whitespace differences.

I have no problem applying that patch.

Pavel Roskin

More information about the Hostap mailing list