On 08/29/2011 03:23 PM, Jouni Malinen wrote: > --- a/drivers/net/wireless/ath/ath6kl/cfg80211.c > +++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c > @@ -776,6 +776,15 @@ static int ath6kl_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev, > request->ssids[i].ssid); > } > > + if (request->ie) { > + if (ath6kl_wmi_set_appie_cmd(ar->wmi, WMI_FRAME_PROBE_REQ, > + request->ie, request->ie_len)) { > + ath6kl_err("failed to set Probe Request appie for " > + "scan"); > + return -EIO; > + } > + } I would prefer to return the original error code from the wmi call. Kalle -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html