From: Rajkumar Manoharan Date: Wed, 23 Apr 2014 09:37:57 +0000 (+0530) Subject: ath9k: fix race in setting ATH_OP_INVALID X-Git-Tag: omap-for-v3.16/fixes-against-rc1~214^2~11^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c7ae357cc5b6bd037ad2d666e9f3789cf882925;p=pandora-kernel.git ath9k: fix race in setting ATH_OP_INVALID The commit "ath9k: move sc_flags to ath_common" moved setting ATH_OP_INVALID flag below ieee80211_register_hw. This is causing the flag never being cleared randomly as the drv_start is called prior to setting flag. Fix this by setting the flag prior to register_hw. Signed-off-by: Rajkumar Manoharan Signed-off-by: John W. Linville --- Reading git-diff-tree failed