<p>Offending patch is <code>640-store_freq_ibss.patch</code>.</p>

<p>Error log:</p>

<p>. /opt/build/commotion-router/openwrt/include/shell.sh; bzcat /opt/build/commotion-router/openwrt/dl/hostapd-20131120.tar.bz2 | /bin/tar -C /opt/build/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/hostapd-wpad-mini/hostapd-20131120/.. -xf - </p>

<p>Applying ./patches/100-madwifi_key_fixes.patch using plaintext: <br>
patching file src/drivers/driver_madwifi.c</p>

<p>Applying ./patches/110-bool_fix.patch using plaintext: <br>
patching file src/ap/ieee802_1x.c</p>

<p>Applying ./patches/120-daemonize_fix.patch using plaintext: <br>
patching file src/utils/os_unix.c</p>

<p>Applying ./patches/130-wds_sta_del_fix.patch using plaintext: <br>
patching file src/drivers/driver_nl80211.c</p>

<p>Applying ./patches/200-multicall.patch using plaintext: <br>
patching file hostapd/Makefile<br>
patching file wpa_supplicant/Makefile<br>
patching file src/drivers/driver.h<br>
patching file src/ap/drv_callbacks.c<br>
patching file wpa_supplicant/wpa_priv.c<br>
patching file wpa_supplicant/events.c<br>
patching file wpa_supplicant/wpa_supplicant.c<br>
patching file hostapd/main.c<br>
patching file src/drivers/drivers.c</p>

<p>Applying ./patches/300-noscan.patch using plaintext: <br>
patching file hostapd/config_file.c<br>
patching file src/ap/ap_config.h<br>
patching file src/ap/hw_features.c</p>

<p>Applying ./patches/310-rescan_immediately.patch using plaintext: <br>
patching file wpa_supplicant/wpa_supplicant.c</p>

<p>Applying ./patches/320-optional_rfkill.patch using plaintext: <br>
patching file src/drivers/driver_nl80211.c<br>
patching file src/drivers/driver_wext.c<br>
patching file src/drivers/drivers.mak<br>
patching file src/drivers/driver_wext.h</p>

<p>Applying ./patches/330-nl80211_fix_set_freq.patch using plaintext: <br>
patching file src/drivers/driver_nl80211.c</p>

<p>Applying ./patches/340-reload_freq_change.patch using plaintext: <br>
patching file src/ap/hostapd.c</p>

<p>Applying ./patches/350-nl80211_del_beacon_bss.patch using plaintext: <br>
patching file src/drivers/driver_nl80211.c</p>

<p>Applying ./patches/360-ctrl_iface_reload.patch using plaintext: <br>
patching file hostapd/ctrl_iface.c</p>

<p>Applying ./patches/370-ap_sta_support.patch using plaintext: <br>
patching file wpa_supplicant/wpa_supplicant_i.h<br>
patching file wpa_supplicant/Makefile<br>
patching file wpa_supplicant/wpa_supplicant.c<br>
patching file wpa_supplicant/bss.c<br>
patching file wpa_supplicant/main.c<br>
patching file wpa_supplicant/bss.h</p>

<p>Applying ./patches/380-disable_ctrl_iface_mib.patch using plaintext: <br>
patching file hostapd/Makefile<br>
patching file hostapd/ctrl_iface.c<br>
patching file wpa_supplicant/Makefile<br>
patching file wpa_supplicant/ctrl_iface.c<br>
patching file src/ap/ctrl_iface_ap.c<br>
patching file src/ap/ieee802_1x.c<br>
patching file src/ap/wpa_auth.c<br>
patching file src/rsn_supp/wpa.c</p>

<p>Applying ./patches/390-wpa_ie_cap_workaround.patch using plaintext: <br>
patching file src/common/wpa_common.c</p>

<p>Applying ./patches/400-terminate_on_setup_failure.patch using plaintext: <br>
patching file src/ap/hostapd.c</p>

<p>Applying ./patches/410-bring_down_interface.patch using plaintext: <br>
patching file src/drivers/driver_nl80211.c</p>

<p>Applying ./patches/420-fix_wps_pin_crash.patch using plaintext: <br>
patching file hostapd/ctrl_iface.c</p>

<p>Applying ./patches/430-wps_single_auth_enc_type.patch using plaintext: <br>
patching file src/ap/wps_hostapd.c</p>

<p>Applying ./patches/440-dynamic_20_40_mhz.patch using plaintext: <br>
patching file hostapd/config_file.c<br>
patching file src/ap/ap_config.h<br>
patching file src/ap/hostapd.c<br>
patching file src/ap/hostapd.h<br>
patching file src/ap/ieee802_11.c<br>
patching file src/ap/ieee802_11.h<br>
patching file src/ap/ieee802_11_ht.c</p>

<p>Applying ./patches/450-limit_debug_messages.patch using plaintext: <br>
patching file src/utils/wpa_debug.c<br>
patching file src/utils/wpa_debug.h</p>

<p>Applying ./patches/460-indicate-features.patch using plaintext: <br>
patching file hostapd/main.c<br>
patching file wpa_supplicant/main.c<br>
patching file src/utils/build_features.h</p>

<p>Applying ./patches/470-hostapd_cli_ifdef.patch using plaintext: <br>
patching file hostapd/hostapd_cli.c</p>

<p>Applying ./patches/471-wpa_cli_ifdef.patch using plaintext: <br>
patching file wpa_supplicant/wpa_cli.c</p>

<p>Applying ./patches/480-max_num_sta_probe.patch using plaintext: <br>
patching file src/ap/beacon.c</p>

<p>Applying ./patches/490-scan_wait.patch using plaintext: <br>
patching file hostapd/main.c</p>

<p>Applying ./patches/500-wpa_supplicant-add-new-config-params-to-be-used-with.patch using plaintext: <br>
patching file src/drivers/driver.h<br>
patching file wpa_supplicant/config.c<br>
patching file wpa_supplicant/config_ssid.h<br>
patching file wpa_supplicant/wpa_supplicant.c</p>

<p>Applying ./patches/501-driver_nl80211-use-new-parameters-during-ibss-join.patch using plaintext: <br>
patching file src/drivers/driver_nl80211.c</p>

<p>Applying ./patches/502-wpa_s-support-htmode-param.patch using plaintext: <br>
patching file src/drivers/driver.h<br>
patching file src/drivers/driver_nl80211.c<br>
patching file wpa_supplicant/config.c<br>
patching file wpa_supplicant/config_ssid.h<br>
patching file wpa_supplicant/wpa_supplicant.c</p>

<p>Applying ./patches/510-wpa_supplicant_p2p_parse_ifcomb.patch using plaintext: <br>
patching file src/drivers/driver_nl80211.c</p>

<p>Applying ./patches/640-store_freq_ibss.patch using plaintext: <br>
patching file src/drivers/driver_nl80211.c<br>
Hunk <a href="https://github.com/opentechinstitute/commotion-router/pull/1" class="issue-link" title="Minor commit">#1</a> FAILED at 1583.<br>
Hunk <a href="https://github.com/opentechinstitute/commotion-router/pull/2" class="issue-link" title="small fix to commotion luci theme">#2</a> succeeded at 7941 (offset 865 lines).<br>
1 out of 2 hunks FAILED -- saving rejects to file src/drivers/driver_nl80211.c.rej<br>
Patch failed!  Please fix ./patches/640-store_freq_ibss.patch!<br>
make[3]: *** [/opt/build/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/hostapd-wpad-mini/hostapd-20131120/.prepared_ef29c0f295902832b7d851521555c208] Error 1<br>
make[3]: Leaving directory <code>/opt/build/commotion-router/openwrt/package/hostapd'<br>
make[2]: *** [package/hostapd/compile] Error 2<br>
make[2]: Leaving directory</code>/opt/build/commotion-router/openwrt'<br>
make[1]: *** [/opt/build/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile] Error 2<br>
make[1]: Leaving directory `/opt/build/commotion-router/openwrt'<br>
make: *** [world] Error 2</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/opentechinstitute/commotion-router/issues/115'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/3074564__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxMDczMjUwMywiZGF0YSI6eyJpZCI6Mjc5MDgzNzF9fQ==--e59746b01d781f889f96add01992729f9f2a69ef.gif' height='1' width='1'></p>