summaryrefslogtreecommitdiff
path: root/packages/prism3-support/files/hostap-fw-load
blob: 538a4a7836863aabdeea01721446e3c1f0605020 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
                                                       
# Special case for prism3 cards needing firmware upload
# Add more known manfids, if necessary          
                                                       
if [ `cardctl info|grep "d601,0010\|d601,0101"` ]; then
  iwpriv "$IFACE" reset 1                             
  hostap_fw_load "$IFACE"  
fi                      
  
# lets hope that run-parts obeys the order :D