static int CFG80211_OpsRFKill( IN struct wiphy *pWiphy) { struct rtmp_adapter *pAd; bool active; MAC80211_PAD_GET(pAd, pWiphy); RTMP_DRIVER_80211_RFKILL(pAd, &active); wiphy_rfkill_set_hw_state(pWiphy, !active); return active; }
static int CFG80211_OpsRFKill( IN struct wiphy *pWiphy) { VOID *pAd; BOOLEAN active; MAC80211_PAD_GET(pAd, pWiphy); RTMP_DRIVER_80211_RFKILL(pAd, &active); wiphy_rfkill_set_hw_state(pWiphy, !active); return active; }