ieee80211_register_hw
Prev | Chapter 1. Basic hardware handling | Next

## Name

ieee80211_register_hw — Register hardware device

## Synopsis

`int ieee80211_register_hw (` | struct ieee80211_hw * hw`)`;

## Arguments

`hw`

  the device to register as returned by `ieee80211_alloc_hw`

## Description

You must call this function before any other functions in mac80211. Note that before a hardware can be registered, you need to fill the contained wiphy's information.

## Return

0 on success. An error code otherwise.

Prev | Up | Next
ieee80211_alloc_hw | Home | ieee80211_unregister_hw