From patchwork Mon Mar 7 12:09:12 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Buesch X-Patchwork-Id: 615511 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p27C9IRv007484 for ; Mon, 7 Mar 2011 12:09:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754468Ab1CGMJQ (ORCPT ); Mon, 7 Mar 2011 07:09:16 -0500 Received: from 80-190-117-144.ip-home.de ([80.190.117.144]:44346 "EHLO bu3sch.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753715Ab1CGMJQ (ORCPT ); Mon, 7 Mar 2011 07:09:16 -0500 Received: by bu3sch.de with esmtpsa (Exim 4.69) (envelope-from ) id 1PwZFU-0000Z3-Ei; Mon, 07 Mar 2011 13:09:16 +0100 Subject: [PATCH] mac80211: Add log message to ieee80211_restart_hw() From: Michael Buesch To: "John W. Linville" Cc: "linux-wireless@vger.kernel.org" , Johannes Berg Date: Mon, 07 Mar 2011 13:09:12 +0100 Message-ID: <1299499752.5665.8.camel@marge> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 07 Mar 2011 12:09:18 +0000 (UTC) Index: compat-wireless-2011-02-25/net/mac80211/main.c =================================================================== --- compat-wireless-2011-02-25.orig/net/mac80211/main.c 2011-03-07 12:58:14.996968980 +0100 +++ compat-wireless-2011-02-25/net/mac80211/main.c 2011-03-07 13:03:26.732273903 +0100 @@ -384,6 +384,9 @@ void ieee80211_restart_hw(struct ieee802 trace_api_restart_hw(local); + wiphy_info(hw->wiphy, + "Hardware restart was requested\n"); + /* use this reason, ieee80211_reconfig will unblock it */ ieee80211_stop_queues_by_reason(hw, IEEE80211_QUEUE_STOP_REASON_SUSPEND);