All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Report scan_abort as part of iw phy
@ 2016-10-08 13:40 Ola Olsson
  2016-10-10  9:13 ` Kalle Valo
  2016-10-10  9:21 ` Johannes Berg
  0 siblings, 2 replies; 3+ messages in thread
From: Ola Olsson @ 2016-10-08 13:40 UTC (permalink / raw)
  To: johannes; +Cc: linux-wireless, Ola Olsson, Ola Olsson

nl80211: abort_scan has not been reported under the 'Supported commands'
category when calling iw phy. Add that.

Signed-off-by: Ola Olsson <ola.olsson@sonymobile.com>
---
 net/wireless/nl80211.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index 95d55d2..0bbce4f 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -1526,6 +1526,7 @@ static int nl80211_send_wiphy(struct cfg80211_registered_device *rdev,
 		CMD(set_bitrate_mask, SET_TX_BITRATE_MASK);
 		CMD(mgmt_tx, FRAME);
 		CMD(mgmt_tx_cancel_wait, FRAME_WAIT_CANCEL);
+		CMD(abort_scan, ABORT_SCAN);
 		if (rdev->wiphy.flags & WIPHY_FLAG_NETNS_OK) {
 			i++;
 			if (nla_put_u32(msg, i, NL80211_CMD_SET_WIPHY_NETNS))
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Report scan_abort as part of iw phy
  2016-10-08 13:40 [PATCH] Report scan_abort as part of iw phy Ola Olsson
@ 2016-10-10  9:13 ` Kalle Valo
  2016-10-10  9:21 ` Johannes Berg
  1 sibling, 0 replies; 3+ messages in thread
From: Kalle Valo @ 2016-10-10  9:13 UTC (permalink / raw)
  To: Ola Olsson; +Cc: johannes, linux-wireless, Ola Olsson

Ola Olsson <ola1olsson@gmail.com> writes:

> nl80211: abort_scan has not been reported under the 'Supported commands'
> category when calling iw phy. Add that.
>
> Signed-off-by: Ola Olsson <ola.olsson@sonymobile.com>
> ---
>  net/wireless/nl80211.c | 1 +
>  1 file changed, 1 insertion(+)

You should prefix the title with "cfg80211: " (or "nl80211: ", not
really sure which one is more suitable).

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches#subject_name

-- 
Kalle Valo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Report scan_abort as part of iw phy
  2016-10-08 13:40 [PATCH] Report scan_abort as part of iw phy Ola Olsson
  2016-10-10  9:13 ` Kalle Valo
@ 2016-10-10  9:21 ` Johannes Berg
  1 sibling, 0 replies; 3+ messages in thread
From: Johannes Berg @ 2016-10-10  9:21 UTC (permalink / raw)
  To: Ola Olsson; +Cc: linux-wireless, Ola Olsson

On Sat, 2016-10-08 at 15:40 +0200, Ola Olsson wrote:
> nl80211: abort_scan has not been reported under the 'Supported
> commands'
> category when calling iw phy. Add that.
> 
> Signed-off-by: Ola Olsson <ola.olsson@sonymobile.com>
> ---
>  net/wireless/nl80211.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
> index 95d55d2..0bbce4f 100644
> --- a/net/wireless/nl80211.c
> +++ b/net/wireless/nl80211.c
> @@ -1526,6 +1526,7 @@ static int nl80211_send_wiphy(struct
> cfg80211_registered_device *rdev,
>  		CMD(set_bitrate_mask, SET_TX_BITRATE_MASK);
>  		CMD(mgmt_tx, FRAME);
>  		CMD(mgmt_tx_cancel_wait, FRAME_WAIT_CANCEL);
> +		CMD(abort_scan, ABORT_SCAN);
> 

You can't add this here, it has to be inside the "state->split" if.

johannes

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-10  9:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-08 13:40 [PATCH] Report scan_abort as part of iw phy Ola Olsson
2016-10-10  9:13 ` Kalle Valo
2016-10-10  9:21 ` Johannes Berg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.